[index] [text page] [<<start] [<prev] [next>] [last>>]
Page 22: ps and pstree

Page 22

  
  ps and pstree
  $ ps -f -p 712
  UID     PID  PPID  C STIME TTY          TIME CMD
  spamc   712     1  0 Apr27 ?        00:02:06 /usr/bin/perl
        /usr/sbin/spamd -a -d -u spamc -L -m 20 -P
  $ pstree
  init-+-apache---6*[apache]
       |-atd
       ...
       |-spamd
       |-sshd-+-sshd---sshd---ksh-+-2*[lynx]
       |      |                   `-mutt
       |      |-3*[sshd---sshd---ksh---screen]
       |      |-sshd---sshd---ksh---ssh
       |      |-sshd---bash---ksh
       |      |-sshd---bash---ksh---mutt
       ...
       |-stunnel---stunnel
       |-syslogd
       `-xinetd

Copyright 2003, Bri Hatch of Onsight, Inc.

Presented at ISSA Puget Sound, 2003.

Presentation created using vim and MagicPoint.