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 what you mean,
and mean what you code!
But by all means post your code!
Razalas
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