Processes as trees

Just found this nice little command which displays all running processes as a tree structure. Actually, the command is just good ol’ ps, but with the axf arguments. i.e.

# ps axf
...
...
8923 ? Ss 0:00 /bin/sh /command/svscanboot
8925 ? S 0:00 _ svscan /service
10888 ? S 0:00 | _ supervise qmail-send
13089 ? S 0:00 | | _ qmail-send
13097 ? S 0:00 | | _ qmail-lspawn ./Maildir/
13099 ? S 0:00 | | _ qmail-rspawn
13100 ? S 0:00 | | _ qmail-clean
10889 ? S 0:00 | _ supervise log
13088 ? S 0:00 | | _ /usr/local/bin/multilog t /var/log/qmail
10890 ? S 0:00 | _ supervise qmail-smtpd
21951 ? S 0:00 | | _ /usr/local/bin/tcpserver -v -R -l smtp1.smartmailpro.co.nz -x /etc/tcp.smtp.cdb -c 20 -u 502 -g 501 0 25 /var/qmail/bin
10891 ? S 0:00 | _ supervise log
13091 ? S 0:00 | _ /usr/local/bin/multilog t /var/log/qmail/smtpd
8926 ? S 0:00 _ readproctitle service errors: .................................................................................................

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.