On Wed, 2002-02-27 at 11:43, dman wrote:
> On Wed, Feb 27, 2002 at 04:43:37PM +0100, Arpi wrote:
> 
> | > Sorry, that should be
> | > 
> | > More generic:
> | > 
> | > pid=`ps ax | grep "spamd" | grep -v grep | awk '{print $1}'`
> | 
> | pid=`pidof spamd`  ?
> 
> 'pidof' is a Debian thing.
> 

[jason@traveller jason]$ cat /etc/redhat-release
Red Hat Linux release 7.2 (Enigma)

[jason@traveller jason]$ pidof init
1


-- 
Jason Kohles                                 [EMAIL PROTECTED]
Senior System Architect
Red Hat Professional Consulting              http://www.redhat.com/


_______________________________________________
Spamassassin-talk mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/spamassassin-talk

Reply via email to