help-cfengine
[Top][All Lists]
Advanced

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

Re: Killed wrong proc!


From: Chip Seraphine
Subject: Re: Killed wrong proc!
Date: Wed, 22 Sep 2004 09:08:56 -0500
User-agent: KMail/1.5.4

FYI to those whose ignorance level equals (or, God forbid, even exceeds) mine:

Mark and I just had a brief discussion off list and he referred me to some 
confdir stuff (esp http://www.cfengine.org/confdir/filterex.html) that show 
filters being used with processes.   

I didn't know this galactically useful feature exists, so I figured maybe some 
other cfengine folk might want to have this pointed out.  (It isn't in the 
ref yet, and if you're like me you tend to stop looking after that.)

On Wednesday 22 September 2004 07:49, Chip Seraphine wrote:
> The first item in the line is generally PID, so that might not work.
> 
> I'm using exclude=syslogd for now, but that is only valid in this special 
> case.   Too bad /proc's if the world are all so nonstandard or we could just 
> mine that and get stuff very safely.... (knowing that an arg0 is certainly 
an 
> arg0, f'rinstance)
> 
> On Wednesday 22 September 2004 07:04, Sven Mueller wrote:
> > Chip Seraphine [u] wrote on 22/09/2004 13:45:
> > 
> > > OK, thanks, Mark.  I see that now.  I thought it was matching only on 
> arg0, 
> > > but it's just a pattern match against the entire line of 'ps' output...
> > > 
> > > So what's the canonical workaround?  I'm sure almost everybody has the 
> similar 
> > > problem from time to time, right?
> > 
> > "^[^ ]postfix "
> > in your case.
> > 
> > I would guess ;-)
> > 
> > cu,
> > sven
> > 
> > 
> > _______________________________________________
> > Help-cfengine mailing list
> > Help-cfengine@gnu.org
> > http://lists.gnu.org/mailman/listinfo/help-cfengine
> > 
> 
> -- 
> 
> Chip Seraphine
> Unix Administrator
> TradeLink, LLC
> 312-264-2048
> chip@trdlnk.com
> 
> 
> 
> _______________________________________________
> Help-cfengine mailing list
> Help-cfengine@gnu.org
> http://lists.gnu.org/mailman/listinfo/help-cfengine
> 

-- 

Chip Seraphine
Unix Administrator
TradeLink, LLC
312-264-2048
chip@trdlnk.com




reply via email to

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