Thursday, November 19, 2009

Using 'ps' to find CPU intensive processes

If you've been using 'top' to determine which processes use the most CPU resource, there's another way.  Use 'ps' and sort the output via CPU.  Here's the command:
ps aux --sort -cp