<div dir="ltr">Few follow up questions. <div>1. So to collect statistics for different processes I would have to include multiple <Plugin processes> in the conf file?</div><div><br></div><div style>2. The processes plugin captures cpu usage along with other statistics. How do I gather memory statistics for specific processes?</div>
<div style><br></div><div style>Thanks!</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, May 10, 2013 at 1:22 PM, Florian Forster <span dir="ltr"><<a href="mailto:octo@collectd.org" target="_blank">octo@collectd.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi Amit,<br>
<div class="im"><br>
On Fri, May 10, 2013 at 01:07:53PM +0530, amit shah wrote:<br>
> Can collectd be configured to gather statistics for specific linux<br>
> processes given their pid's?<br>
<br>
</div>no, the "processes" plugin can only select processes by name. On some<br>
systems, including Linux, the "ProcessMatch" option matches the entire<br>
command line.<br>
<br>
I also just mergd the "cgroups" plugin into the master branch. With it<br>
you can get CPU usage statistics from certain processes only.<br>
<br>
HTH,<br>
—octo<br>
<span class="HOEnZb"><font color="#888888">--<br>
collectd – The system statistics collection daemon<br>
Website: <a href="http://collectd.org" target="_blank">http://collectd.org</a><br>
Google+: <a href="http://collectd.org/+" target="_blank">http://collectd.org/+</a><br>
GitHub: <a href="https://github.com/collectd" target="_blank">https://github.com/collectd</a><br>
Twitter: <a href="http://twitter.com/collectd" target="_blank">http://twitter.com/collectd</a><br>
</font></span><br>-----BEGIN PGP SIGNATURE-----<br>
Version: GnuPG v1.4.10 (GNU/Linux)<br>
<br>
iQIcBAEBAgAGBQJRjKc2AAoJEFCaZHVExRxo2jcQAJaFN+SaeFUiz4AxYnuYmbob<br>
x5a/7m6ud01XOf557/mhp+AbDBag7CNOr1isPBd+Ush3loSh5rxJc2/9Ahw4mjLb<br>
C1h6ha3sXaETmfQIqVWgeil57eLMOBjl/EpZde52mvZpFkY2L9nAnIUsqTR8mEMj<br>
v1oZoyziTOFWSUPyvq2PHU6su5oLzDiCejtcmNVSwGn5fkr8071K2VFUtFotWr25<br>
itu3g1F/L8VenFfZOUdMmh3gE2kazCXECvasT/wKKEpR26gKrmlecBHDkNFzH9za<br>
9KLSywOK/ERJYRqeiT8w+3XCZL/DiRl+sn7DprSOkfUAswE6z+I80YUfnUJtA/cK<br>
OsJ5ppxDacij/GFtah46G96EcS923OnNkpwcfHKNruq0KCc2QJ424/MEDeVj9Hhp<br>
v94q6xVOuWWrCex2Ax8wdUEMulwNnqSN+W6UGCeBZqVL4n1/5/X4C8nmM54X/Fd8<br>
STiiAfDPIaqYG9rC6rNL3XRD9aX+DUrILt6pUkUZjElQ0lcelu688FfeXSKKlAou<br>
hHg+FnQzQcSM5p8793o1b7COdQfTK5gOgVG7GvXdqqxBZDSr1UNNocpL4M4JqKCC<br>
ajcig+CoS3TFtVQK6YYjyzvqR+/lDNXm0bSxsdMx+2YmhvjN4hyIWYbxz5n4ybNZ<br>
atDPy6Pz9KlgnWMv/XfN<br>
=vPwS<br>
-----END PGP SIGNATURE-----<br>
<br></blockquote></div><br></div>