天天看點

runlevel in Linux and Solaris and AIX

運作級别對于系統使用來說應該是一個很重要的基本概念,原來一直使用Linux,現在又用Solaris和AIX,一下模糊了,他們對runlevel的定義有些許不同,現本人搜集了哈,做個比較。

runlevel

Linux

Solaris

halt (Do NOT set initdefault to /etc/inittal "initlevel" entry)

halt

1

Single user mode

2

Multiuser, without NFS (The same as 3, if you do not have networking)

multiuser, unshare net

3

Full multiuser mode

multiuser, deafult

4

unused

5

X11

halt, power off

6

reboot (Do NOT set initdefault to this)

reboot to level 3

S

None

equal “init 1”, “boot -s”

      AIX:

      "AIX does not follow the System V R4 (SVR4) run level specification, with run levels from 0 to 9 available, as well as from a to c. 0 and 1 are reserved, 2 is the default normal multiuser mode and run levels from 3 to 9 are free to be defined by the administrator. Run levels from a to c allow the execution of processes in that run level without killing processes started in another."

本文轉自 xkdcc 51CTO部落格,原文連結:http://blog.51cto.com/brantc/116008,如需轉載請自行聯系原作者

繼續閱讀