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
CPU utilization for a specific service/process
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
Re: CPU utilization for a specific service/process
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.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.
http://www.ks-soft.net/hostmon.eng/mfra ... erfcounter
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#scriptinvisik wrote:It would be great to have the top 5 processes retrieved when the CPU monitor spikes up.
Regards,
Max
-
- Posts: 2832
- Joined: Tue May 16, 2006 4:41 am
- Contact:
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.htminvisik wrote:Ahh process counter doesn't work on RMA's though... That's where I need it.
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
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
Thanks for the help.
-m
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 manuallyIn the Select computer to monitor screen, I can't get it to connect to any computer at a remote site
Regards
Alex