Submit Hint Search The Forums LinksStatsPollsHeadlinesRSS
14,000 hints and counting!


Click here to return to the 'Use top as a quick replacement for Activity Monitor' hint
The following comments are owned by whoever posted them. This site is not responsible for what they say.
Use top as a quick replacement for Activity Monitor
Authored by: melomac on Aug 17, '06 04:25:00PM

what I am realy looking for is a hierarchic tool just like 'ps -fax' would do... for top, my reference still 'top -duk'. any tips ?



[ Reply to This | # ]
Use top as a quick replacement for Activity Monitor
Authored by: hysterion on Aug 20, '06 12:15:48PM
I use pstree (available via darwinports too, but it's just one C file that compiles into one 20 k executable):

$ pstree -u www
-+= 00001 root /sbin/launchd
 \-+= 00231 root /opt/local/apache2/bin/httpd -k start
   |--- 00232 www /opt/local/apache2/bin/httpd -k start
   |--- 00233 www /opt/local/apache2/bin/httpd -k start
   |--- 00234 www /opt/local/apache2/bin/httpd -k start
   |--- 00235 www /opt/local/apache2/bin/httpd -k start
   |--- 00236 www /opt/local/apache2/bin/httpd -k start
   \--- 01051 www /opt/local/apache2/bin/httpd -k start


[ Reply to This | # ]