#service servicename status
比如查看防火牆:#service iptables status
#chkconfig --list | grep servicename
比如查看httpd:#chkconfig --list| grep httpd
#service servicename status
比如查看防火牆:#service iptables status
#chkconfig --list | grep servicename
比如查看httpd:#chkconfig --list| grep httpd