The GNU long parameters

You can combine GNU long parameters with either Unix- or BSD-style parameters to really customize your display. One cool feature of GNU long parameters with the –forest parameter. It displays the hierarchical process information, but using ASCII characters to draw cute charts:

$ ps -ef –forest |grep apache2

root 3420 1 2 08:55 ? 00:00:00 /usr/sbin/apache2 -k start
www-data 3428 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3431 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3432 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3433 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start
www-data 3434 3420 0 08:55 ? 00:00:00 \_ /usr/sbin/apache2 -k start

Trackback URI | Comments RSS

Leave a Reply

You must be logged in to post a comment.