![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| UNIX for Advanced & Expert Users Advanced UNIX and Linux questions go here. Expert-to-Expert. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| exiting a child without stopping the parent | madpenguin | Shell Programming and Scripting | 5 | 09-19-2007 07:45 PM |
| Parent/Child Processes | yoi2hot4ya | Shell Programming and Scripting | 2 | 05-31-2006 10:27 AM |
| kill parent and child | larry | UNIX for Dummies Questions & Answers | 4 | 01-11-2003 09:18 PM |
| How hard can it be? ps child/parent | velde046 | Filesystems, Disks and Memory | 2 | 05-25-2002 01:36 PM |
| what are parent and child processes all about? | xyyz | UNIX for Dummies Questions & Answers | 1 | 04-26-2002 12:53 PM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
tempfind.txt file has:
t2589vg 888898 336008 09:15:55 -ksh mqsiadm 1421774 888898 09:16:48 -ksh I am searching using 1421774 in the above file tempfind.txt and and trying to get the no. i.e. 888898 [in Blue]. Based on this no. i have to get the first line, where the same no. is there [in Red]. The nos. in Blue has to match with the no. in Red. That is the process "-ksh" with user id t2589vg that is parent process to "-ksh" of user mqsiadm. And I am trying to get the name of the parent process through its child process id. How can I do this using awk/sed ??? Please let me know , asap. Thanks. Varun. |
|||
| Google The UNIX and Linux Forums |
| Forum Sponsor | ||
|
|