On Tue, Mar 28, 2000 at 02:29:26PM -0600, 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...

Try ps instead. You will have to play with the command line switches and
then select the output you want, probably with awk.


-- 

                -- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley

Reply via email to