Re: problems with greylistd

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



Black Hand wrote:
ps uax | grep -v grep | grep '/usr/bin/python /usr/sbin/greylistd' > /dev/null

A little OT and a nitpick, but this is better:

ps uax | grep "/usr/bin/python /usr/sbin/greylist[d]" > /dev/null

It will achieve the same (eliminating your own grep process) and will save you an exec.

--

//Morten Torstensen
//Email: morten@xxxxxxxxxxx
//IM: Cartoon@xxxxxxxxx morten.torstensen@xxxxxxxxx

And if it turns out that there is a God, I don't believe that he is evil.
The worst that can be said is that he's an underachiever.
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux