Showing posts with label ps. Show all posts
Showing posts with label ps. Show all posts

Thursday, August 13, 2009

solaris ps wide

ps -awwx doesn't work under solaris?
don't use the one under /usr/bin/
try this:
/usr/ucb/ps -awwx

Friday, February 15, 2008

sort process on linux by memory/cpu usage

sort by memory usage:
ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww –sort=pmem

sorty by cpu usage:
ps -eo pid,ppid,rss,vsize,pcpu,pmem,cmd -ww –sort=pcpu