CHAPTER 6 Startup and Shutdown
Run Level | Function | Command |
---|---|---|
0 | PROM monitor level (power-down) | init 0, shutdown -i0, halt |
1,S,s | Single-user mode | init 1, shutdown -i1 |
2 | Multi-user mode, NO resources shared | init 2, shutdown -i2 |
3 | Multi-user mode, resources shared | init 3, shutdown -i3 |
4 | Alternative multi-user mode (not currently used) | |
5 | Halt and software Poweroff the system | init 5, shutdown -i5 |
6 | Halt and reboot to default state | init 6, shutdown -i6, reboot |
You can determine the current run state with the command
# who -r
. run-level 3 Feb 22 08:54 3 0 S
Additionally, init responds to the q or Q run levels, which cause init to reread /etc/inittab.
Digital UNIX has run levels 0,2,3,q,s.