04-15-2013 12:16 AM
Dear Experts
We have a client on Solaris with Veritas Cluster Server 6.0.1
It is a 2 Node cluster
In logs it usually prints CPU usage exceed messages, at times it have cross 90%
I wanted to know how does it calculate the CPU usage, its obvious that server contains multiple CPU therefore the messages printed in the logs are combine of all the CPU or does it calculate individually ?
Regards
Solved! Go to Solution.
04-15-2013 02:36 AM
Faisal,
Veritas Cluster Server (VCS) use kstat on Solaris to calculate CPU usage within code. But you could use mpstat to check and compare with the value from VCS HostMonitor agent.
Basically the CPU usage reported by HostMonitor agent is an average value over the MonitorInterval period of the usage of all CPUs. So the value is a average value during the last period of MonitorInterval secs, and combined all CPUs usage.
Hope this would be helpful.
04-15-2013 02:36 AM
Faisal,
Veritas Cluster Server (VCS) use kstat on Solaris to calculate CPU usage within code. But you could use mpstat to check and compare with the value from VCS HostMonitor agent.
Basically the CPU usage reported by HostMonitor agent is an average value over the MonitorInterval period of the usage of all CPUs. So the value is a average value during the last period of MonitorInterval secs, and combined all CPUs usage.
Hope this would be helpful.
04-17-2013 10:02 PM
Thanks for your info stlnsong. Your output was useful to understand.