Wednesday, 19 November 2008

Print a process tree in UNIX

To print a process tree:

ps -ejH xx (where xx is the pid)
ps axjf xx (where xx is the pid)

or in solaris

pstree xx (where xx is the pid0

No comments: