Thursday, June 24, 2010

Printing Process Tree in AIX and Linus

AIX: Process tree basically lists the parent-child list of a given process.

proctree

# proctree 9437388
3473570 /usr/sbin/srcmstr
4391090 /usr/sbin/inetd
9437388 telnetd -

Linux:
ps -ejH

793 793 793 ? 00:00:00 gdm-binary
909 793 793 ? 00:00:00 gdm-simple-slav
940 940 940 tty7 00:13:02 Xorg
1228 793 793 ? 00:00:00 gdm-session-wor
1497 1497 1497 ? 00:00:00 gnome-session
1534 1534 1534 ? 00:00:00 ssh-agent
1559 1497 1497 ? 00:00:00 bluetooth-apple
1561 1497 1497 ? 00:00:05 gnome-panel

Pin It
Related Posts Plugin for WordPress, Blogger...