我正在使用SLES 10 SP2(SUSE Linux Enterprise Server 10 Service Pack 2)的服务器上运行chkconfig --list命令。 我知道运行级别从0到6的含义,但有些行也有一个“ S ”(大写S),一行有一个“ B ”(大写B)。
我在这里引用一个“ chkconfig --list ”的输出 – 注意,一方面,“ kbd ”,“ microcode ”,“ splash ”,“ splash_early ”行在结尾处有“ S:on ”另一方面,该行和 “ sysstat ”行以“ B:on ”结束:
# chkconfig --list (...) dbus 0:off 1:off 2:off 3:on 4:off 5:on 6:off (...) kbd 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on (...) microcode 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on (...) splash 0:off 1:on 2:on 3:on 4:off 5:on 6:off S:on splash_early 0:off 1:off 2:on 3:on 4:off 5:on 6:off (...) syslog 0:off 1:off 2:on 3:on 4:off 5:on 6:off sysstat 0:off 1:off 2:off 3:off 4:off 5:off 6:off B:on (...)
我已经阅读了关于chkconfig Levels的Serverfault问题和解答,但是唯一的答案只提到了运行级别0到6。
chkconfig在这台机器上的手册页也只提到运行级别0到6:
# man chkconfig (...) LIST MODE List mode prints for each specified service a line that consists of the service name and for runlevels zero to six **on** or **off** depending if the service will be started or not. **on** will be printed in bright green if the output is written to a terminal. If the --deps option is given, the names of the services that must be started before this service is appended to each line. The inetd/xinetd services are listed in extra sections. (...)
所以,我的问题是:在chkconfig --list输出中,“ S ”和“ B ”的含义是什么?
(我猜“S”可能是“启动”,而“B”可能是“启动”,但我没有find任何相关的文档或网页来解决这个问题。
运行级别B是SUSE特定的。 这意味着“开机”。 它是为了在系统进入“真实”运行级别之前,在引导序列期间运行的软件。 “S”是一个单用户模式,符号级别为1。