CPU utilization for a specific service/process

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
invisik
Posts: 34
Joined: Mon Jan 15, 2007 10:35 pm

CPU utilization for a specific service/process

Post by invisik »

Hi!

Monitoring a Windows 2003 server and a couple of processes frequently hold the CPU at 100%. I have a CPU test on the server so I know when it is spiked. However, I would like it to also report what service or executable is causing the problem. The process test only tells you if the process is running or not and CPU just gives overall percentage.

Maybe a WMI call or some sort? Thanks for any insight. It would be great to have the top 5 processes retrieved when the CPU monitor spikes up.

-m
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Re: CPU utilization for a specific service/process

Post by KS-Soft Europe »

invisik wrote:Monitoring a Windows 2003 server and a couple of processes frequently hold the CPU at 100%. I have a CPU test on the server so I know when it is spiked. However, I would like it to also report what service or executable is causing the problem. The process test only tells you if the process is running or not and CPU just gives overall percentage.
You may use "Performance counter" test method. You should invoke "Select a counter to monitor" window, select "Process" as performance object, "% Processor Time" as counter and select certain process from the "Select instance from the list" list.
http://www.ks-soft.net/hostmon.eng/mfra ... erfcounter
invisik wrote:It would be great to have the top 5 processes retrieved when the CPU monitor spikes up.
Sorry, HostMonitor does not offer such functionality. I think it is possible to write some script and use "Active Script" test method to achieve such functionality. http://www.ks-soft.net/hostmon.eng/mfra ... htm#script


Regards,
Max
invisik
Posts: 34
Joined: Mon Jan 15, 2007 10:35 pm

Post by invisik »

Ahh process counter doesn't work on RMA's though... That's where I need it.

Will look into the scripting a bit.

Thanks.

-m
KS-Soft Europe
Posts: 2832
Joined: Tue May 16, 2006 4:41 am
Contact:

Post by KS-Soft Europe »

invisik wrote:Ahh process counter doesn't work on RMA's though... That's where I need it.
Why not? Do you see any errors? What exact errors do you see? RMA for Windows supports 37 test methods including "Performance Counter" test method. http://www.ks-soft.net/hostmon.eng/rma-win/index.htm

Probably you should specify counter manualy into "Check counter" box, like: "\\SERVER_Name\Process(PROCESS_NAME)\% Processor Time". Instead of SERVER_NAME and PROCESS_NAME you should specify target server name and process name accordingly.

Also you should start RMA service under admin account. You may specify certain account for the RMA service using standard windows "Services" applet (Start > Run > services.msc)

Regards,
Max
invisik
Posts: 34
Joined: Mon Jan 15, 2007 10:35 pm

Post by invisik »

In the Select computer to monitor screen, I can't get it to connect to any computer at a remote site. It does not appear to be able to connect to the local machine either. I have the syntax of domain\administrator in the Connect as: username field and their domain password in the password field and it is checked..... I must have something configured wonky.

Thanks for the help.

-m
KS-Soft
Posts: 13012
Joined: Wed Apr 03, 2002 6:00 pm
Location: USA
Contact:

Post by KS-Soft »

In the Select computer to monitor screen, I can't get it to connect to any computer at a remote site
Do you mean "Select a counter to monitor" window? This dialog provided by Windows API, it cannot retrieve information from RMA. To setup and perform the test you may type name of the counter manually

Regards
Alex
Post Reply