Higehst CPU usage in past 15 Minutes

All questions related to installations, configurations and maintenance of Advanced Host Monitor (including additional tools such as RMA for Windows, RMA Manager, Web Servie, RCC).
Post Reply
RRing
Posts: 39
Joined: Wed Aug 16, 2006 9:14 am

Higehst CPU usage in past 15 Minutes

Post by RRing »

Is there a test that can be ran which shows the Peak CPU usage in a set time period? Instead of creating a CPU usage test and running every minute-30 seconds, I would like to run every 5 minutes and pull the peak CPU usage from the machine over the past 5 minutes. Is this possible?
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

Windows system? I don't think this is possible :roll:
You may create some script using Performance Counters or WMI technology to calculate average CPU Usage over period of time. If you need max CPU load, you must request these counters continuously.

Regards
Alex
User avatar
greyhat64
Posts: 246
Joined: Fri Mar 14, 2008 9:10 am
Location: USA

Post by greyhat64 »

RRing,
The real question is, "What information are you trying to capture?" CPU spikes, depending upon your active applications and services, can happen frequently but should be short lived. For instance, your antivirus product initiates a background scan or your SQL service responds to a query - You will see a burst of CPU activity - potentially to 100%, but is that what you want to capture? Is that kind of spike significant?
So I'm curious. :roll: Is this computer/server supposed to be sitting idle most of the time?
RRing
Posts: 39
Joined: Wed Aug 16, 2006 9:14 am

Required Counter

Post by RRing »

The systems are industrial based telecommunication servers which have burst of activity due to caller volume at different times. We are trying to capture Peak CPU(a More accurate reading), without setting the time down which could cause a system resource issue. The applications we montior, besides the OS, are all proprietary. Any idea's that would not cause significant load would be greatly appreciated.
User avatar
greyhat64
Posts: 246
Joined: Fri Mar 14, 2008 9:10 am
Location: USA

Post by greyhat64 »

Sorry, but I'm not familiar with your type of environment or what the goal is here. Still I'm willing to give it a try :wink:

What OS?
I appreciate your desire to minimize the resource footprint, but generally speaking CPU monitoring is not terribly resource hungry in any environment. And as long as HM is running on a different server it's nothing more than a remote query - even the logging (writes to disk) is done on the HM server and not the target of the test.

And if you set the alarm threshold low enough you could, for instance, turn down the frequency of this test (and others) in order to service the caller volume, if that is the concern. Or maybe you initiate a processs to distribute the load to another server in the cluster.

Or maybe you want to go the other direction with it. If so is there a potential dependency you could take advantage of in order to 'ramp up' a CPU test?
For instance, query the application (or a log the application uses) for the number of active calls: While active calls > {threshold} initiate (or increase the frequency of) CPU test.
Post Reply