help-cfengine
[Top][All Lists]
Advanced

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

Re: help!! - cfservd stops responding after several hours [OT]


From: Jamie Wilkinson
Subject: Re: help!! - cfservd stops responding after several hours [OT]
Date: Thu, 5 Aug 2004 11:06:51 +1000
User-agent: Mutt/1.5.6+20040722i

This one time, at band camp, Sigurd Trygg wrote:
>> Off topic tip, try using:
>> 
>>     ps auxw | grep [c]fservd
>
>Hey, I always wanted to do that!  Reading the man grep (GNU grep
>2.5.1, Linux 2.4, i686), however, I don't understand [how|why] it
>works.  I thought "grep abc" and "grep [a]bc" were equal.  May I ask
>for an explanation please?

It's a neat trick that stops the grep matching itself.

ps -C cfservd | grep cfservd works equally well though.

-- 
jaq@spacepants.org                           http://spacepants.org/jaq.gpg




reply via email to

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