root@pbr-debian6-512:~# ps axjf --forest|sed 's/\([a-zA-Z/\.][0-9a-zA-Z/\.-][0-9a-zA-Z/\._-]*\)/\[\[\1\]\]/g'|sed 's/$/<br>/'
PPID PID PGID SID TTY TPGID STAT UID TIME COMMAND
0 2 0 0 ? -1 S 0 0:00 [kthreadd]
2 3 0 0 ? -1 S 0 0:00 \_ [migration/0]
2 4 0 0 ? -1 S 0 0:00 \_ [ksoftirqd/0]
2 5 0 0 ? -1 S 0 0:00 \_ [watchdog/0]
2 6 0 0 ? -1 S 0 0:00 \_ [events/0]
2 7 0 0 ? -1 S 0 0:00 \_ [cpuset]
2 8 0 0 ? -1 S 0 0:00 \_ [khelper]
2 9 0 0 ? -1 S 0 0:00 \_ [netns]
2 10 0 0 ? -1 S 0 0:00 \_ [async/mgr]
2 11 0 0 ? -1 S 0 0:00 \_ [pm]
2 12 0 0 ? -1 S 0 0:00 \_ [xenwatch]
2 13 0 0 ? -1 S 0 0:00 \_ [xenbus]
2 14 0 0 ? -1 S 0 0:00 \_ [sync_supers]
2 15 0 0 ? -1 S 0 0:00 \_ [bdi-default]
2 16 0 0 ? -1 S 0 0:00 \_ [kintegrityd/0]
2 17 0 0 ? -1 S 0 0:00 \_ [kblockd/0]
2 18 0 0 ? -1 S 0 0:00 \_ [kseriod]
2 20 0 0 ? -1 S 0 0:00 \_ [kondemand/0]
2 21 0 0 ? -1 S 0 0:00 \_ [khungtaskd]
2 22 0 0 ? -1 S 0 0:00 \_ [kswapd0]
2 23 0 0 ? -1 SN 0 0:00 \_ [ksmd]
2 24 0 0 ? -1 S 0 0:00 \_ [aio/0]
2 25 0 0 ? -1 S 0 0:00 \_ [crypto/0]
2 28 0 0 ? -1 S 0 0:00 \_ [khvcd]
2 110 0 0 ? -1 S 0 0:00 \_ [kjournald]
2 370 0 0 ? -1 S 0 0:00 \_ [flush-202:0]
0 1 1 1 ? -1 Ss 0 0:00 init [2]
1 156 156 156 ? -1 S<s 0 0:00 udevd --daemon
156 189 156 156 ? -1 S< 0 0:00 \_ udevd --daemon
156 190 156 156 ? -1 S< 0 0:00 \_ udevd --daemon
1 553 509 504 ? -1 Sl 0 0:00 /usr/sbin/rsyslogd -c4
1 571 511 504 ? -1 S 0 0:00 /bin/bash /usr/sbin/xe-daemon -p /var/run/xe-daemon.pid
571 5826 511 504 ? -1 S 0 0:00 \_ sleep 60
1 582 582 582 ? -1 Ss 0 0:00 /usr/sbin/acpid
1 677 677 677 ? -1 Ss 0 0:00 /usr/sbin/cron
1 690 690 690 ? -1 Ssl 0 0:01 /usr/sbin/nova-agent -q -p /var/run/nova-agent.pid -o /var/log/nova-agent.log -l info /usr/share/nova-agent/nova-agent.py
1 778 778 778 hvc0 778 Ss+ 0 0:00 /sbin/getty 38400 hvc0
1 779 779 779 tty1 779 Ss+ 0 0:00 /sbin/getty 38400 tty1
1 780 780 780 tty2 780 Ss+ 0 0:00 /sbin/getty 38400 tty2
1 781 781 781 tty3 781 Ss+ 0 0:00 /sbin/getty 38400 tty3
1 782 782 782 tty4 782 Ss+ 0 0:00 /sbin/getty 38400 tty4
1 783 783 783 tty5 783 Ss+ 0 0:00 /sbin/getty 38400 tty5
1 784 784 784 tty6 784 Ss+ 0 0:00 /sbin/getty 38400 tty6
1 943 943 943 ? -1 Ss 0 0:00 /usr/sbin/sshd
943 4462 4462 4462 ? -1 Ss 0 0:00 \_ sshd: root@pts/0
4462 4465 4465 4465 pts/0 5830 Ss 0 0:00 \_ -bash
4465 5830 5830 4465 pts/0 5830 R+ 0 0:00 \_ ps axjf --forest
4465 5831 5830 4465 pts/0 5830 S+ 0 0:00 \_ sed s/\([a-zA-Z/\.][0-9a-zA-Z/\.-][0-9a-zA-Z/\._-]*\)/\[\[\1\]\]/g
4465 5832 5830 4465 pts/0 5830 S+ 0 0:00 \_ sed s/$/<br>/
Topic revision: r1 - 2013.04.09 - PaulReiber
 
Copyright © is by author. All material on this collaboration platform is the property of its contributing author.