Ad Widget

Collapse

Linux total CPU in %

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Rudolf
    Member
    • Dec 2004
    • 90

    #1

    Linux total CPU in %

    Hi all

    What's the easiest way to monitor CPU usage in % on a Linux computer? I don't want separate values for user, system, etc, but just ONE value in %. The used CPU, not the idle one. Also we have computers with 1 or 2 CPU's. And on a 2 processor comptuer I want both CPU together in one value.

    procload I not so usefull I think, because it's not in percent. And cpu_util is Windows only.
  • sterickson
    Junior Member
    • Jul 2005
    • 1

    #2
    I just started to use Zabbix yesterday (1.1a10), and I, too, am not at all sure how I would track the cumulative load on a cpu. Like the original poster, in the case of multiple cpus, I'd like to be able to come up with a single value for all cpus combined, but also want to be able to break it down by cpu, too.

    How do the rest of you get, calculate and graph this kind of data? I'd like to ultimately have a graph that showed the cumulative loads for 1, 5, and 15 minute periods.

    TIA
    Last edited by sterickson; 28-07-2005, 18:00.

    Comment

    • Rudolf
      Member
      • Dec 2004
      • 90

      #3
      The key cpu[idle1] shows the idle CPU in %. But I want to get the value 100-cpu[idle1]. 100% - idle% = used %.
      When I define a key, I can set a multiplier. But I need to make another calculation, not mulitplying it.

      Hehe, I am sure it's very easy to see the idle Linux CPU time in %, once I know how to get it.

      Comment

      Working...