Linux commands: Difference between revisions

Jump to navigation Jump to search
381 bytes added ,  8 February 2013
m
Line 77: Line 77:
check apache servie is running or not
check apache servie is running or not
* {{kbd | key=<nowiki>service --status-all | grep httpd</nowiki>}}  ({{Linux}}<ref>[http://www.cyberciti.biz/faq/check-running-services-in-rhel-redhat-fedora-centoslinux/ Red Hat / CentOS: Check / List Running Services]</ref>)  
* {{kbd | key=<nowiki>service --status-all | grep httpd</nowiki>}}  ({{Linux}}<ref>[http://www.cyberciti.biz/faq/check-running-services-in-rhel-redhat-fedora-centoslinux/ Red Hat / CentOS: Check / List Running Services]</ref>)  
* {{kbd | key=<nowiki>netstat -an | find /i "listening"</nowiki>}}  ({{Win}}) find the local open ports & find local address TCP 0.0.0.0:80 is listening
* {{kbd | key = <nowiki>netstat -npl | grep httpd</nowiki>}} for {{Linux}}<ref>[http://www.cyberciti.biz/faq/find-out-which-service-listening-specific-port/ Linux / UNIX Find Out What Program / Service is Listening on a Specific TCP Port]</ref>
* {{kbd | key=<nowiki>netstat -an | find /i "listening"</nowiki>}}  ({{Win}}) find the local open ports & find local address TCP 0.0.0.0:80 is listening<ref>[http://technet.microsoft.com/en-us/library/bb490947.aspx Netstat]</ref>
* more on [[Testing#connection_test | connection test]]...


check which mpm (multi processing module) apache is running
check which mpm (multi processing module) apache is running

Navigation menu