Re: ps parent and children (without UNIX95) (107 Views)
Reply
Honored Contributor
Posts: 3,866
Registered: ‎11-14-2000
Message 1 of 3 (107 Views)
Accepted Solution

ps parent and children (without UNIX95)

is there a way using standard ps to see all processes stemming from one..

Thanks,
Bill
It works for me (tm)
Advisor
Posts: 19
Registered: ‎04-08-2001
Message 2 of 3 (107 Views)

Re: ps parent and children (without UNIX95)

You can use the attached program to see all children of given parent.

for example to all children of process with pid 1

ps -ef|ps_org 1
Honored Contributor
Posts: 1,151
Registered: ‎04-17-2000
Message 3 of 3 (107 Views)

Re: ps parent and children (without UNIX95)

Bill,

there is also a downloadable tool pstree to do the same on HP-ux, the link is-

http://hpux.cs.utah.edu/hppd/hpux/Users/pstre-2.11/

-raj
Take it easy.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.