Well you learn something new every day. For a long time I’ve been simply ps’ing for information pertaining to processes but it turns out there’s a cool command that’s related:
pstree
It creates output like this:
[stuart@iapetus ~]$ pstree
init─┬─acpid
├─atd
├─auditd
├─automount
├─bonobo-activati
├─cannaserver
├─clock-applet
├─crond
├─cups-config-dae
├─cupsd
├─2*[dbus-daemon]
├─dbus-launch
├─2*[dhclient]
├─eggcups
├─events/0
├─evolution
├─evolution-alarm
├─evolution-data-
├─evolution-excha
├─firefox───run-mozilla.sh───firefox-bin
├─gaim
├─gam_server
├─gconfd-2
├─gnome-keyring-d
├─gnome-panel
├─gnome-settings-
├─gnome-terminal─┬─bash
│               ├─2*[bash───ssh]
│               ├─bash───su───bash
│               ├─bash───pstree
│               └─gnome-pty-helpe
├─gnome-vfs-daemo
├─gnome-volume-ma
├─gpm
├─hald─┬─hald-addon-acpi
│     └─hald-addon-stor
├─hcid
├─iiimd
├─khelper
├─2*[kjournald]
├─klogd
├─krfcommd
├─ksoftirqd/0
├─kswapd0
├─kthread─┬─aio/0
│        ├─ata/0
│        ├─hda_codec/0
│        ├─kacpid
│        ├─kauditd
│        ├─kblockd/0
│        ├─khubd
│        ├─kmirrord
│        ├─kseriod
│        ├─2*[pdflush]
│        ├─scsi_eh_0
│        └─scsi_eh_1
├─mDNSResponder
├─mapping-daemon
├─metacity
├─6*[mingetty]
├─mixer_applet2
├─nautilus
├─nifd
├─notification-ar
├─ntpd
├─pam-panel-icon───pam_timestamp_c
├─portmap
├─prefdm───gdm-binary───gdm-binary─┬─X
│                                 └─gnome-session───ssh-agent
├─rhn-applet-gui
├─rpc.idmapd
├─rpc.statd
├─sdpd
├─2*[sendmail]
├─skype
├─smartd
├─sshd
├─syslogd
├─udevd
├─wnck-applet
├─xchat
├─xfs
├─xinetd
└─xscreensaver
[stuart@iapetus ~]$
Cool huh? 🙂
Have a good day!
Stuart