ssCpuUser, ssCpuSystem and ssCpuIdle are not actual CPU usage.

Solution Unverified - Updated -

Issue

  • ssCpuUser, ssCpuSystem and ssCpuIdle are not actual CPU usage.
    $ snmpwalk -v 1 -c public localhost .1.3.6.1.4.1.2021.11
    UCD-SNMP-MIB::ssCpuUser.0 = INTEGER: 77
    UCD-SNMP-MIB::ssCpuSystem.0 = INTEGER: 7
    UCD-SNMP-MIB::ssCpuIdle.0 = INTEGER: 15
    
    $ mpstat -P ALL | grep all
    11:19:30:  all    4.06    0.00    0.38    0.16    0.01    0.00   95.39   1677.13
    
    $ cat /proc/stat | head -n 1
    cpu  184316580 536 17471440 4330969792 7428259 242188 0
    

Environment

  • Red Hat Enterprise Linux 4
  • net-snmp

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In