On Fri, 19 Jan 2001, Thierry ITTY wrote:

> A 13:03 18/01/2001 -0500, vous avez écrit :
> >
> >  try
> >
> >     $ ps -ef | grep [n]tpd
> >
> >why this works is left as an exercise for the hacker.
>
[...]
>
> this is funny, but
>
> ps -ef | grep ntpd | grep -v grep
>
> is much cleaner in my opinion
>

Perhaps now so much in this case... but in a general sence something that
can be done in 1 process is always better than using 2.  Other wise you
might find your machine dieing the death of a thousand cuts.

Get a few hundred of these going in some shell script in a cronjob and
you'll be wondering where all your ram and cycles went.  "There's nothing
intersting in top..."  Then you'll curse a few times at the admin who had
the job before you did.

Sorry.. didn't meant to sound bitter there... ;)

M.

-- 
WebCentral Pty Ltd           Australia's #1 Internet Web Hosting Company
Level 1, 96 Lytton Road.           Network Operations - Systems Engineer
PO Box 4169, East Brisbane.                       phone: +61 7 3249 2583
Queensland, Australia.                            pgp key id: 0x900E515F



_______________________________________________
Redhat-list mailing list
[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to