help-cfengine
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Process Regexp Problems


From: Russell Adams
Subject: Re: Process Regexp Problems
Date: Tue, 13 Apr 2004 20:05:26 -0500
User-agent: Mutt/1.4i

The answer turned out to be:

    "[0-9] /usr/sbin/cron"

I tried various methods of detecting the brackets that failed
miserably.

This will suffice.

Russell

On Tue, Apr 13, 2004 at 06:33:55PM -0500, Russell Adams wrote:
> I'm trying to monitor processes on a box that hosts several User Mode
> Linux virtual hosts.
> 
> The issue I'm having is that the UML processes show up in the process
> table, and match for processes that may not be running on the host
> itself.
> 
> So looking for cron, I might see:
> 
> 28856 ?        S      0:00 /usr/sbin/cron
>  1191 ?        S      0:01 /usr/bin/linux  [/usr/sbin/cron]
> 
> How can I specify to NOT match the one that begins with the linux
> prefix?
> 
> Thanks!
> 
> -----------------------------
> Russell Adams
> address@hidden
> http://www.adamsinfoserv.com/
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> address@hidden
> http://mail.gnu.org/mailman/listinfo/help-cfengine
-----------------------------
Russell Adams
address@hidden
http://www.adamsinfoserv.com/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]