sreangsu acharyya rearranged electrons thusly:

> On Thu, 23 Nov 2000, Suresh Ramasubramanian wrote:
> 
> >  No - that's just your grep process which is running.  
> > (hint - try ps -aux|grep ssh|grep -v grep)
 
>   Isnt it somewhat strange that when doing 
> ps x | grep <whatever> 
> the grep process sometimes shows up and sometimes doesnt

 Depends on whether grep has finished and shut itself down or not.  To do away
 with the grep totally, you can also try ps axu | grep -c -- "[s]sh -q" :) [s]
 matches just one s and nothing else ... so that eliminates 'grep' the grep
 output as well.
 
-- 
Suresh Ramasubramanian + mallet<@>efn.org
  You spamma my mailbox, I nukea da ass

----------------------------------------------
The mailing list archives are available at
http://lists.linux-india.org/cgi-bin/wilma/LIH

Reply via email to