在chkconfig中0-6的结果是什么?
示例
chkconfig --list|grep iptables
iptables 0:off 1:off 2:on 3:on 4:on 5:on 6:off发布于 2013-08-30 05:35:06
不同的数字对应于该服务的不同运行级别。
ID Name Description
---------------------------------------
0 Halt Shuts down the system.
1 Single-user Mode Mode for administrative tasks.
2 Multi-user Mode Does not configure network interfaces and does not export networks services.
3 Multi-user Mode with Networking Starts the system normally.
4 Not used/User-definable For special purposes.
5 Start the system normally with appropriate display manager. (with GUI) Same as runlevel 3 + display manager.
6 Reboot Reboots the system.维基百科对不同的运行级别有详细的解释(根据基本系统的不同,它们的含义也会有所不同),如果需要更具体的信息的话。
发布于 2013-08-30 05:31:43
这是V系统的运行级。
发布于 2013-08-30 09:46:05
这些数字是独立的运行级,决定在启动时要执行哪个进程或程序。所有这些都是在/etc/inittab中定义的。Linux发行版有七个不同的运行级别,在启动时,init进程检查哪个运行级别正在运行,并在此基础上执行进程和服务。在引导过程中,init是负责执行服务的最后一步。
Runlevel是一种系统状态,通常可以通过在它们之间切换来实现Linux上的高级管理。
https://serverfault.com/questions/535033
复制相似问题