pstree
pstree is a Unix command that shows the running processes as a tree. It is used as a more visual alternative to the ps command. The root of the tree is either init or the process with the given pid.
Examples
pstree pid
user@host ~$ pstree 1066
rsyslogd─┬─{in:imjournal}
└─{rs:main Q:Reg}
pstree username
user@host ~# pstree username
dbus-daemon───{dbus-daemon}
dbus-launch
bash───firefox─┬─6*[{Analysis Helper}]
├─{BgHangManager}
├─{Cache2 I/O}
├─{Compositor}
├─{GMPThread}
├─{Gecko_IOThread}
├─{Hang Monitor}
├─{ImageBridgeChil}
├─{ImageIO}
├─{JS Watchdog}
├─{Link Monitor}
├─{Socket Thread}
├─{SoftwareVsyncTh}
├─{StreamTrans #1}
├─{Timer}
└─{gmain}
See also
External links
- The psmisc package
- The pstree Command by The Linux Information Project (LINFO)
- Gnome Process Tree
- – Linux User Commands Manual
- – Solaris 10 User Commands Reference Manual
This article is issued from Wikipedia - version of the 11/22/2016. The text is available under the Creative Commons Attribution/Share Alike but additional terms may apply for the media files.