[collectd] Linux Proces Monitoring With Collectd & Graphite

amit shah amits.84 at gmail.com
Fri May 10 10:32:08 CEST 2013


Few follow up questions.
1. So to collect statistics for different processes I would have to include
multiple <Plugin processes> in the conf file?

2. The processes plugin captures cpu usage along with other statistics. How
do I gather memory statistics for specific processes?

Thanks!


On Fri, May 10, 2013 at 1:22 PM, Florian Forster <octo at collectd.org> wrote:

> Hi Amit,
>
> On Fri, May 10, 2013 at 01:07:53PM +0530, amit shah wrote:
> > Can collectd be configured to gather statistics for specific linux
> > processes given their pid's?
>
> no, the "processes" plugin can only select processes by name. On some
> systems, including Linux, the "ProcessMatch" option matches the entire
> command line.
>
> I also just mergd the "cgroups" plugin into the master branch. With it
> you can get CPU usage statistics from certain processes only.
>
> HTH,
> —octo
> --
> collectd – The system statistics collection daemon
> Website: http://collectd.org
> Google+: http://collectd.org/+
> GitHub:  https://github.com/collectd
> Twitter: http://twitter.com/collectd
>
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
>
> iQIcBAEBAgAGBQJRjKc2AAoJEFCaZHVExRxo2jcQAJaFN+SaeFUiz4AxYnuYmbob
> x5a/7m6ud01XOf557/mhp+AbDBag7CNOr1isPBd+Ush3loSh5rxJc2/9Ahw4mjLb
> C1h6ha3sXaETmfQIqVWgeil57eLMOBjl/EpZde52mvZpFkY2L9nAnIUsqTR8mEMj
> v1oZoyziTOFWSUPyvq2PHU6su5oLzDiCejtcmNVSwGn5fkr8071K2VFUtFotWr25
> itu3g1F/L8VenFfZOUdMmh3gE2kazCXECvasT/wKKEpR26gKrmlecBHDkNFzH9za
> 9KLSywOK/ERJYRqeiT8w+3XCZL/DiRl+sn7DprSOkfUAswE6z+I80YUfnUJtA/cK
> OsJ5ppxDacij/GFtah46G96EcS923OnNkpwcfHKNruq0KCc2QJ424/MEDeVj9Hhp
> v94q6xVOuWWrCex2Ax8wdUEMulwNnqSN+W6UGCeBZqVL4n1/5/X4C8nmM54X/Fd8
> STiiAfDPIaqYG9rC6rNL3XRD9aX+DUrILt6pUkUZjElQ0lcelu688FfeXSKKlAou
> hHg+FnQzQcSM5p8793o1b7COdQfTK5gOgVG7GvXdqqxBZDSr1UNNocpL4M4JqKCC
> ajcig+CoS3TFtVQK6YYjyzvqR+/lDNXm0bSxsdMx+2YmhvjN4hyIWYbxz5n4ybNZ
> atDPy6Pz9KlgnWMv/XfN
> =vPwS
> -----END PGP SIGNATURE-----
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20130510/a3421127/attachment.html>


More information about the collectd mailing list