Display processes % usage but I only want the process name and % used
Wonder if anyone can help me, I have to monitor the %MEM that processes are using, so I use the ps and sort command like this ....
ps -aux | sort -nk4
So this will sort by column 4 so I can see the all the processes that are using the highest %MEM.
What I really want is to be able to just display the process name and the %MEM next to it, does anyone know how to do this?
Thanks
|