The Wayback Machine - https://web.archive.org/web/20161112054651/https://en.wikipedia.org/wiki/Pstree

pstree

From Wikipedia, the free encyclopedia
Jump to: navigation, search
pstree output in FreeBSD

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[edit]

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[edit]

External links[edit]


Navigation menu

Personal tools

Namespaces

Variants

More

Morty Proxy This is a proxified and sanitized view of the page, visit original site.