>If you really need grep on a ps listing, e.g. to find processes of a
>certain program, the standard way to do this is grepping out the grep:
>ps -aux | grep "httpd" | grep -v grep
A more elegant way is to use something like
ps -aux | grep [h]ttpd
This saves starting an extra process.
-- Artificial Intelligence stands no chance against Natural Stupidity. GAT d- -p+(--) c++++ l++ u++ t- m--- W--- !v b+++ e* s-/+ n-(?) h++ f+g+ w+++ y*