[nycbug-talk] process tree viewing
Isaac Levy
ike
Sun Apr 24 18:06:34 EDT 2005
And to follow up with some nicely formatted output,
pstree is EXACTLY what I was looking for- see below! Thanks Alex and
Jan!
--
thunderbird:/home/ike ike$ pstree
-+= 00000 root [swapper]
|-+= 00001 root /sbin/init --
| |--= 00196 root adjkerntz -i
| |--= 00259 root /sbin/devd
| |--= 00279 root /usr/sbin/syslogd -s
| |--= 00354 root /usr/sbin/usbd
| |-+= 00390 root /usr/sbin/sshd
| | |-+= 00448 root sshd: ike [priv] (sshd)
| | | \-+- 00450 ike sshd: ike at ttyp0 (sshd)
| | | \--= 00451 ike -bash (bash)
| | |-+= 04229 root sshd: ike [priv] (sshd)
| | | \-+- 04231 ike sshd: ike at ttyp1 (sshd)
| | | \-+= 04232 ike -bash (bash)
| | | \--= 04373 root bash
| | \-+= 35086 root sshd: ike [priv] (sshd)
| | \-+- 35088 ike sshd: ike at ttyp3 (sshd)
| | \-+= 35089 ike -bash (bash)
| | \-+= 35109 ike pstree
| | \-+- 35110 ike sh -c ps -axwwo user,pid,ppid,pgid,command
| | \--- 35111 ike ps -axwwo user,pid,ppid,pgid,command
| |--= 00407 root /usr/sbin/cron -s
| |--= 00440 root /usr/libexec/getty Pc ttyv0
| |--= 00441 root /usr/libexec/getty Pc ttyv1
| |--= 00442 root /usr/libexec/getty Pc ttyv2
| |--= 00443 root /usr/libexec/getty Pc ttyv3
<snip...>
--
Rocket-
.ike
More information about the talk
mailing list