Reputation: 31
I have a multiprocessor system and I am trying to calculate CPU usage of a particular process, But I am getting more than 100% Later I saw the hrSWRunPerf object's properties of that OID (hrSWRunPerfCPU) from which is
Type | Access | Description |
---|---|---|
Integer32 | read-only | The number of centi-seconds of the total system's CPU resources consumed by this process. Note that on a multi-processor system, this value may increment by more than one centi-second in one centi-second of real (wall clock) time. |
Hence how do I get to calculate CPU usage(%) of a process in the case of a multi-processor machine?
Upvotes: 1
Views: 1381