How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • tvnaidu
    Contributor
    • Oct 2009
    • 365

    How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?

    How can I cheack CPU load on LINUX like "Windows Task manager" on Windows?. Windows task manager shows CPU load (percentage) and etc, any tool in LINux?. I know "top" command which shows which process running at highest priority right?. thanks.
  • AmberJain
    Recognized Expert Contributor
    • Jan 2008
    • 922

    #2
    Apart from top, there's 'ps -aux', htop, gnome system monitor, conky,KDE system guard, ktask for KDE, atop, gkrellm etc.

    To see running processes and kill them etc, use ps, kill, killall, pkill etc.
    'top' is nice too.
    I also like conky. In conky.conf, you can always add lines something like:
    Code:
    ${color grey}CPU Usage:$color $cpu% ${cpubar 4}

    Comment

    • numberwhun
      Recognized Expert Moderator Specialist
      • May 2007
      • 3467

      #3
      I agree with Amber....top is excellent to see this. The top of the output gives you something like this:

      Code:
      top - 12:07:13 up  2:29,  2 users,  load average: 0.62, 0.40, 0.21
      Tasks: 134 total,   2 running, 132 sleeping,   0 stopped,   0 zombie
      Cpu(s): 12.3%us,  3.3%sy,  0.0%ni, 84.1%id,  0.3%wa,  0.0%hi,  0.0%si,  0.0%st
      Mem:   1026428k total,   902172k used,   124256k free,    92464k buffers
      Swap:   996020k total,        0k used,   996020k free,   452440k cached
      Regards,

      Jeff

      Comment

      • tvnaidu
        Contributor
        • Oct 2009
        • 365

        #4
        I am pounding my process, but when I see CPU utilization using "ps -aux" command, I can see "0.0" always, does it correct?.

        any other command to see CPU usage?.

        Comment

        • AmberJain
          Recognized Expert Contributor
          • Jan 2008
          • 922

          #5
          As far as I know, if ps -aux says 0.0, then CPU utilization should be zero. Let's see what other experts have to say about this.

          Moreover, there are many different variants of ps out there. The BSD variant on my system has some notable points:
          Code:
          ..... CPU time: includes both user and system time
          ...........
          ..........
          keywords:
          ..........
          %cpu         Alias: pcpu.  The CPU utilization of the process; this is
                               a decaying average over up to a minute of previous (real)
                               time.  Since the time base over which this is computed
                               varies (since processes may be very young) it is possible
                               for the sum of all %cpu fields to exceed 100%.
          ..........
          So look at your system's manpage of ps for more info.

          Comment

          Working...