runlevel:输出当前运行级别
init:初始化Linux进程
service:管理系统服务
查看当前服务状态
[root@cs6 ~]# service --status-all auditd (pid 1270) 正在运行... crond (pid 1451) 正在运行... 表格:filter Chain INPUT (policy ACCEPT) num target prot opt source destination 1 ACCEPT all ::/0 ::/0 state RELATED,ESTABLISHED 2 ACCEPT icmpv6 ::/0 ::/0 3 ACCEPT all ::/0 ::/0 4 ACCEPT udp ::/0 fe80::/64 state NEW udp dpt:546 5 ACCEPT tcp ::/0 ::/0 state NEW tcp dpt:22 6 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited Chain FORWARD (policy ACCEPT) num target prot opt source destination 1 REJECT all ::/0 ::/0 reject-with icmp6-adm-prohibited Chain OUTPUT (policy ACCEPT) num target prot opt source destination iptables:未运行防火墙。 iscsi 已停 iscsid 已停 lvmetad 已停 dmeventd 已停 mdmonitor 已停 multipathd 已停
管理系统服务
[root@cs6 ~]# service crond status crond (pid 1451) 正在运行... [root@cs6 ~]# /etc/init.d/crond status crond (pid 1451) 正在运行...