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