11-16-2016
Hi cmccabe,
where function pa is being used.?
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
How can I get /usr/people/me/
from /usr/people/me/file.abc
with sed?
Thanks... (2 Replies)
Discussion started by: cybotic
2 Replies
2. Shell Programming and Scripting
sorry to trouble u guys again...
i have this document here called record.txt and it contains this:
2005-12-05 10:53:17,551 INFO - message received...
2005-12-05 10:53:17,557 INFO - The XML message **************<berth_allocation xmln... (13 Replies)
Discussion started by: forevercalz
13 Replies
3. UNIX for Dummies Questions & Answers
Hi all,
I need to mark a file with it's current location in the file system before being moved.
This will enable the file to be restored back to it's original location.
Can anyone provide any ideas about the best way to do this, at present i'm trying to use readlink -m to strip off the... (1 Reply)
Discussion started by: skinnygav
1 Replies
4. UNIX for Dummies Questions & Answers
Hello, I am using awk to process a file, and need to return a row that meets specific criteria.
awk 'BEGIN{sets variables}
{processes file, updates variables}
END{need to print a row that meets the criteria in one of the variables}
I have tried code in the END block like {print NR==var}... (1 Reply)
Discussion started by: badPuppy
1 Replies
5. Shell Programming and Scripting
Hello,
I got a Qstion. Im posting to a phpbb forum with bash and curl.. i have a text file with the following tags that i post to the forum:
$var1
$var2
$var3
How can i with sed or awk put var content from shell script between the ... in the... (7 Replies)
Discussion started by: atmosroll
7 Replies
6. Shell Programming and Scripting
I have this input file:
and the desired output is as follows:
Desired Output
This is a sample taken from a huge file. Basically, the script should take the tag (TDK11..1>) add everything that has bukle=A until it sees the blank lines. Then takes the next tag (TDK2222>) adds everything that... (4 Replies)
Discussion started by: Ernst
4 Replies
7. UNIX for Dummies Questions & Answers
I have an xml file which is generated in a single line an looks like this
<?xml version="1.0" encoding="ISO-8859-1" standalone="no"?><Batch_Id="1999996" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><some data....><some data....>closing lines......
I need to have a separate line... (3 Replies)
Discussion started by: vx04
3 Replies
8. Shell Programming and Scripting
In the below awk I am trying to print expName only if another tag planExecuted is true. In addition to the expName I am also printing planShortID. For some reason the word experiment gets printed so I remove it with sed. I have attached the complete index.html as well as included a sample of it... (1 Reply)
Discussion started by: cmccabe
1 Replies
9. Shell Programming and Scripting
Hi Forum.
I have an XML file with the following requirement to move the <AdditionalAccountHolders> tag and its content right after the <accountHolderName> tag within the same file but I'm not sure how to accomplish this through a Unix script.
Any feedback will be greatly appreciated.
... (19 Replies)
Discussion started by: pchang
19 Replies
10. Shell Programming and Scripting
File2 is tab-delimeted and I am trying to use $2 in file1 (space delimeted) as a search term in file2. If it is found then the AF= in and the FDP= values from file2 are extracted and printed next to the file1 line. I commented the awk before I added the lines in bold the current output resulted. I... (7 Replies)
Discussion started by: cmccabe
7 Replies
LEARN ABOUT CENTOS
tapset::task
tapset::task(3stap) tapset::task(3stap)
NAME
tapset::task - systemtap task tapset
DESCRIPTION
task_current
The current task_struct of the current task
See function::task_current(3stap)
for details.
task_parent
The task_struct of the parent task
See function::task_parent(3stap)
for details.
task_state
The state of the task
See function::task_state(3stap)
for details.
task_execname
The name of the task
See function::task_execname(3stap)
for details.
task_pid
The process identifier of the task
See function::task_pid(3stap)
for details.
pid2task
The task_struct of the given process identifier
See function::pid2task(3stap)
for details.
pid2execname
The name of the given process identifier
See function::pid2execname(3stap)
for details.
task_tid
The thread identifier of the task
See function::task_tid(3stap)
for details.
task_gid
The group identifier of the task
See function::task_gid(3stap)
for details.
task_egid
The effective group identifier of the task
See function::task_egid(3stap)
for details.
task_uid
The user identifier of the task
See function::task_uid(3stap)
for details.
task_euid
The effective user identifier of the task
See function::task_euid(3stap)
for details.
task_prio
The priority value of the task
See function::task_prio(3stap)
for details.
task_nice
The nice value of the task
See function::task_nice(3stap)
for details.
task_cpu
The scheduled cpu of the task
See function::task_cpu(3stap)
for details.
task_open_file_handles
The number of open files of the task
See function::task_open_file_handles(3stap)
for details.
task_max_file_handles
The max number of open files for the task
See function::task_max_file_handles(3stap)
for details.
SEE ALSO
function::task_current(3stap), function::task_parent(3stap), function::task_state(3stap), function::task_execname(3stap),
function::task_pid(3stap), function::pid2task(3stap), function::pid2execname(3stap), function::task_tid(3stap),
function::task_gid(3stap), function::task_egid(3stap), function::task_uid(3stap), function::task_euid(3stap),
function::task_prio(3stap), function::task_nice(3stap), function::task_cpu(3stap), function::task_open_file_handles(3stap),
function::task_max_file_handles(3stap), stap(1), stapprobes(3stap)
IBM
--- tapset::task(3stap)