>>>>> "Hans" == Hans Granqvist writes: Hans> peter@volvo.volvo.se (Peter H�kansson) writes: >> ps -ef | grep stupid | wc -l (count nr of processes run by >> stupid) Hans> shouldn't this be more like: Hans> ps -ef | grep stupid | grep -v grep | wc -l Hans> (since your own `ps' will show up...)? ;-) Ummm, maybe this instead: (will work for any user excepting the current one...) ps -ef | grep stupid | grep -v 'grep stupid' | wc -l Hans> -- Hans Granqvist, hansg@vd.volvo.se, VOL.VD.HANSG quam Hans> maximum credula postero Jack. -- John M. Twilley | nautilus@acm.rpi.edu | twilley@dewey.nl.nuwc.navy.mil "Our passion is like a nuclear explosion: violent anticipation, a brilliant blast of heat and light, and a beautiful sunset..." --me