To find the process that uses the most memory using top
Hi ,
I am looking for the equivalent top command on linux to achieve the result I have used this on sun top -i ${PWD}/top.out -n 10000 -s 10 -d 1000000 however the above won't work on linux ?? Thanks |
I don't know exactly how to do it but I'd start with `ps -aux`, which gives the % memory used in the 4th column. Then pipe the output through `sort` and `cut` to get the output in the format you want.
|
I am trying to achieve the following
System: Wed Jul 4 12:41:33 2007 Load averages: 0.02, 0.04, 0.09 288 processes: 256 sleeping, 31 running, 1 zombie Cpu states: CPU LOAD USER NICE SYS IDLE BLOCK SWAIT INTR SSYS 0 1 any ideas how i can this with the top command Thanks |
All times are GMT -5. The time now is 05:45 AM. |