Linux commands: Difference between revisions

Jump to navigation Jump to search
No change in size ,  16 December 2012
Line 74: Line 74:


== apache operation ==
== apache operation ==
check which mpm (multi processing module) apache is running
* {{kbd | key=httpd -l}}  ({{Linux}} & {{Win}}) ex: {{Linux}} /usr/local/httpd/bin/httpd -l or {{Win}}  x:\apache\bin>httpd -l where x:\apache is the installation folder of apache <ref>[http://www.binarytides.com/check-which-mpm-multi-processing-module-apache-is-running/ Check which mpm (multi processing module) apache is running | Binary Tides]</ref>
check apache servie is running or not
check apache servie is running or not
* {{kbd | key=service --status-all | grep httpd}}  ({{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=service --status-all | grep httpd}}  ({{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 -an | find /i "listening"</nowiki>}}  ({{Win}}) find the local open ports & find local address TCP 0.0.0.0:80 is listening
check which mpm (multi processing module) apache is running
* {{kbd | key=httpd -l}}  ({{Linux}} & {{Win}}) ex: {{Linux}} /usr/local/httpd/bin/httpd -l or {{Win}}  x:\apache\bin>httpd -l where x:\apache is the installation folder of apache <ref>[http://www.binarytides.com/check-which-mpm-multi-processing-module-apache-is-running/ Check which mpm (multi processing module) apache is running | Binary Tides]</ref>


== system operation ==
== system operation ==

Navigation menu