Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

process tree

Status
Not open for further replies.

razalas

Programmer
Apr 23, 2002
237
US
I needed to identify all the child processes belonging to a given process id. From a search here, I found this post [thread822-721794], which suggested ptree (from the Solaris world). However, ptree is not available on the RedHat installation that I work on, but instead provides "pstree". I wanted to reply to that thread but was unable to do so. So I am posting this here in case anyone else is looking for something similar that works on RedHat.

Code:
$ pstree -Aapl 24600
login,24600
  `-bash,24620
      `-pstree,21342 -Aapl 24600

Code what you mean,
and mean what you code!
But by all means post your code!

Razalas
 
Have a look here:
faq822-4603

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top