[collectd] Does ProcessMatch support matching the cmd line at all?

Sebastian Harl sh at tokkee.org
Thu Apr 16 11:26:48 CEST 2009


Hi Brian,

On Wed, Apr 15, 2009 at 11:51:43PM -0700, Brian Long wrote:
> http://mailman.verplant.org/pipermail/collectd/2008-May/001809.html suggests
> that it might be possible to match not only process name but command line as
> well. I'm interested in this because I am trying to count java processes
> running a particular class, e.g. "java.*com.dotspots.MyClass". This doesn't
> seem to work however and I am only able to match "java" alone, which is not
> very specific when  I have multiple processes running on the box. Is there a
> way to match into the cmd line?

Which version of collectd and which operating system do you use? On
Linux, this feature is only available since version 4.6.0 of collectd.
Also make sure that you're using the "ProcessMatch" option instead of
"Process".

HTH,
Sebastian

-- 
Sebastian "tokkee" Harl +++ GnuPG-ID: 0x8501C7FC +++ http://tokkee.org/

Those who would give up Essential Liberty to purchase a little Temporary
Safety, deserve neither Liberty nor Safety.         -- Benjamin Franklin

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
Url : http://mailman.verplant.org/pipermail/collectd/attachments/20090416/ce18f913/attachment.pgp 


More information about the collectd mailing list