这个是同一个时刻的CPU数据。只是包含各种数据,我想要CPU的使用率,不知道是哪个

解决方案 »

  1.   

    HOST-RESOURCES-MIB
    这个是SNMP遵循的MIB库这个库中描述CPU的信息只有这些:[root@MRTG-CNC-HNZZ-128-195 mibs]# more HOST-RESOURCES-MIB.txt | grep CPU
               hrDiskStorageCapacity, hrSWRunStatus, hrSWRunPerfCPU,
                                       -- (i.e., CPU, memory, IO)
            hrSWRunPerfCPU object might be named
            hrSWRunPerfCPU.1287"
            hrSWRunPerfCPU          Integer32,
    hrSWRunPerfCPU OBJECT-TYPE
            "The number of centi-seconds of the total system's CPU
            OBJECTS { hrSWRunPerfCPU, hrSWRunPerfMem }
      

  2.   

    无满意答复,沉贴!除了CPU,其他问题,我都明白了,不动的童鞋可以问我
      

  3.   

    关于HOST-RESOURCES-MIB中节点hrSWRunPerfCPU的值计算方法?我能得到所有进程的hrSWRunPerfCPU的值,但是不知道怎样才能将它转换成我们可以认识的总体CPU的表达形式,如当前CPU的占用率为51%请赐教!
      

  4.   

    楼主 怎么计算内存使用率啊?还有cpu的解决了吗?求指导