Linux – Top 10 CPU-hungry apps

By | October 27, 2010

If you want to find out which applications you run eat the most of your CPU, run the command below:

ps -eo pcpu,pid,args | sort -k 1 -r | head -10

This will display a top 10 list of those processes, starting with the hungriest at the top.

3 thoughts on “Linux – Top 10 CPU-hungry apps

  1. T4L Post author

    @Visionplanet: of course it’s simpler. But try using top’s output in a script…

    Reply
  2. poundy

    # top -n 1 >> /tmp/top.log

    but of coz the command are easier to store information into log file

    Reply

Leave a Reply

Your email address will not be published. Required fields are marked *