information on the process for cigars for a windows service

Is there a way to monitor the process information of type sigar for a process that is running as a windows service?  I have a plugin this info from autodiscovers and measures for the service using perfmon:
< name metric = "availability".
model = "win32:Service = ${service_name}": availability ""
indicator = "true" / >
< name of the filter = "object" value = "Process" / >
< name of the filter = 'process '.
value="Win32:type=formatted,object=${object},instance=%process.name%"/ >
< name of the filter = 'template '.
value = "${process}: ${name}" / >
< name metric = "% privileged time" / >
I like to shoot in all measures of process - metrics.xml for example:
< name metric = "size of virtual memory for the process."
Template="sigar:type=ProcMem,arg=%process.query%:size".
units = 'B' / >
I can do this directly, but I really need a way to link the process of return to service.  There are processes with duplicated names (but unique PIDs) with unique service names.

Hi Chris,

You can use the name of the service for the ptql query, for example:

java-jar sigar.jar ps Service.Name.eq = Eventlog
1036 SYSTEM Nov11 36M 4,2 M - R 11:51 C:\WINDOWS\system32\services.exe

Sigar below will search the process pid by using the name of the service.

You will also find plugins that can use "Pid.Service.eq", which is the same query below.  Has since been replaced by the following:
http://JIRA.Hyperic.com/browse/Sigar-90
http://JIRA.Hyperic.com/browse/Sigar-91

Tags: VMware

Similar Questions

Maybe you are looking for

  • ERROR: The file of product delivery cannot be verified

    I use OS X El Capitan Version 10.11.5 I want to update the Pages, Numbers and Keynote for the latest versions, but when I do, I get the following message. "The distribution of product file could not be verified. It may be damaged or is not signed. I

  • WLan connected to the Satellite U400 PSU40C but no data flow

    Hey guys,. Hope you can help me with a problem I have with the wireless to my new laptop. I bought a Toshiba U400 PSU40C-08U01C. It came pre-installed with Windows Vista. Everything worked fine out of the box, wireless/Wired internet.I really didn't

  • iSCSI LUN Block Size

    Hello... I asked this question already in the German part of this community, but got no answer... On the ReadyDATA, it is possible to adjust the block size, then host and client can use the same block size: http://KB.NETGEAR.com/app/answers/detail/A_

  • deletion of

    How can I remove documents printed on my photosmart history page after printing

  • Help: Fuze distorts the sound when the display turns off

    Hello Since a few days, I own my rocket. Today, I recognized the following problem: When the display turns off the "rocket" distorts the song. It's a bit like stuttering, it's his bad. When I keep the screen turned on (by clicking on the boxes or mor