On Mon, Jan 09, 2006 at 10:30:28AM +1100, Michael Lake wrote:
> Also the script will eventually need to be able to test for either the 
> first apache-perl or the second one.
> At present the above script cannot descriminate between the two.
> i.e. 
> # www-data 28319 28312  0 13:02 pts/3    00:00:00 /usr/sbin/apache-perl
> # root     28584     1  6 13:03 pts/3    00:00:00 /usr/sbin/apache-perl -f 
> /etc/apache-perl/httpd2.conf
> 
> What do folks use to determine if a process is running?

Hi,

pidof(8). 

-- 
Rene Cunningham
DCLabs Pty Ltd
http://www.dclabs.com.au
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to