#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