Results 1 to 4 of 4
On Sun Solaris, I can use "ptree" to trace all parent and child processes for a given PID. Is there same command available on Linux? (I can't find ptree on ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 07-01-2010 #1Just Joined!
- Join Date
- Jul 2010
- Posts
- 1
Equivalent command as ptree in Linux
On Sun Solaris, I can use "ptree" to trace all parent and child processes for a given PID. Is there same command available on Linux? (I can't find ptree on linux)
Thanks!
- 07-01-2010 #2
There is a pstree command for Linux, but I don't know what package it might be in. I have used it before, though.
You may also want to check the man page for "ps", which appears to have a --forest option that may do what you want.
- 07-01-2010 #3
In Arch at least, pstree is part of the psmisc package. Other distros may name the package differently.
- 07-04-2010 #4


Reply With Quote

