On Mon, Sep 24, 2001 at 03:44:10PM +1000, Jill Rowling ([EMAIL PROTECTED]) wrote:
> hehehe it had to be sendmail...
>
> $ cd /var/run
> $ for i in * ; do if [ -f $i ] ; then wc -l $i; fi; done
hehehehe, why not:
wc *
it even gives you a nice total.
> [rowling@rb-01120 run]$ cat sendmail.pid
> 717
> /usr/sbin/sendmail -bd -q1h
*BUT* that does have a nice advantage.
you can "head" the PID file to kill the process and then
use the next line to restart it AND you know how it got
started in the first place ......
jhs
--
Tommorow or the next life, whichever comes first, we never know. - Saying from Tibet.
__, Jobst Schmalenbach, [EMAIL PROTECTED], Technical Director
_ _.--'-n_/ Barrett Consulting Group P/L & The Meditation Room P/L
-(_)------(_)= +61 3 9532 7677, POBox 277, Caulfield South, 3162, Australia
--
SLUG - Sydney Linux User Group Mailing List - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug