NSClient++ Help (#1) - checkCounter for multiple instances? (#646) - Message List
Hi gang,
is there a way to use CheckCounter to get perfmon counters for multiple instances of a process?
for example, if I want to check cpu or memory usage for the w3wp process (IIS), how can I do that?
If CheckCounter can't do that, any thoughts on how to do that with WMI or something?
thanks,
addodd
-
Message #1936
Humm...
I think someone ought to writup some performance counter stuff for Lua so people can script them in a simple fashion...
But to answer your question: nothin out of the box to do this...
Michael Medin
mickem08/19/10 14:18:33 (18 months ago)-
Message #1941
I've got a dirty wmi script that "does the job" now... not pretty, and honestly, not that accurate (anyone know of a good way to turn the Win32_Process class KernelModeTime? and UserModeTime? into useable numbers? or how to get the Win32_PerfFormattedData_PerfProc_Process PercentProcessorTime? to be accurate??)
thanks,
addodd
oddboy08/19/10 21:31:24 (18 months ago)
-







