Click to See Complete Forum and Search --> : How to tell if apache running


digitized
08-23-2001, 09:36 AM
How do you use the grep command to tell if httpd is running?

ZeBuL0N
08-23-2001, 09:38 AM
U can AlwAys do a top

it will show all running processes

klamath
08-23-2001, 10:46 AM
ps aux | grep httpd

(This will also show the grep process itself; you can do `ps aux | grep [h]ttpd` if that matters)

klamath
08-23-2001, 10:47 AM
U can AlwAys do a top

it will show all running processes


No, it won't. It only shows a limited number of processes (by default, sorted by CPU time).

digitized
08-23-2001, 11:57 AM
Thks
ps aux | grep httpd

'worked fine

ZeBuL0N
08-23-2001, 02:00 PM
your right. Im retarded. how about netstat -a|grep httpd