[collectd] [PATCH] Add invert match to processes plugin

Daniel Hilst danielhilst at gmail.com
Sun Apr 1 22:33:27 CEST 2012


In my case I need to get the statistics from all process matching a 
pattern and all not, I can't do this with a simple regex so I've 
implement an invert match -- a grep -v like -- on processes plugin.

Here is an example of usage:

<Plugin processes>
         ProcessMatch "DB" "^ora(cle|_)"
         ProcessMatch "any" "^ora(cle|_)" "invert"

</Plugin>

It's my first patch submit, so I'm felling little lost..

Cheers!
-- 
Follow the white rabbit!
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: 0001-processes.c-Added-support-to-invert-match-a-grep-v-l.patch
URL: <http://mailman.verplant.org/pipermail/collectd/attachments/20120401/d13e2379/attachment.ksh>


More information about the collectd mailing list