ps ax | grep process name

 is a good replacement for top for just getting data about processes.

On Tue, 28 Mar 2000, Michael D. Kirkpatrick wrote:

> Maybe I forgot to mention that this is all done through a web interface.  The perl
> script that is being ran is executed from a private web page.  I am playing with 
>using
> "top" to gather a list of processes, but it takes it 1-2 second to get past that part
> of the code.  Do you know of a quicker process lister then top?  All I am doing is
> searching through the output from top for the program name and capture the pid# so I
> can execute "kill pid#" shortly after.  It works, but it just takes too long...
> 

Reply via email to