AIX Run Levels

bb

Notes:
Run levels define the behavior. of init, and by extension, those processes which run on the
system when it is at any given level. A run level is a software configuration that allows only
a selected group of processes to exist. The system can be at one of the following run
levels:
• 0-9
Tells the init command to place the system in one run level 0-9
When the init command requests a change to run levels 0-9, it kills all processes at the current run levels and then restarts any processes associated with the new run levels.
• 0-1
Reserved for the future use of the operating system
• 2
Contains all of the terminal processes and daemons that are run in the multiuser environment
In the multiuser environment, the /etc/inittab file is set up so that the init command creates a process for each terminal on the system. The console device driver is also set to run at all run levels so the system can be operated with only the console active.
• 3-9
Can be defined according to the user's preferences
• S,s,M,m
Tells the init command to enter the maintenance mode. When the system enters maintenance mode from another run level, only the system console is used as the terminal.
• a,b,c,h
Tells the init command to process only those records in the /etc/inittab file with a, b, c, or h in the run level field. These four arguments, a, b, c, and h, are not true run levels. They differ from run levels in that the init command cannot request the entire system to enter run levels a, b, c, or h. When the init command finds a record in the /etc/inittab file with a value of a, b, c, or h in the run level field, it starts the process. However, it does not kill any processes at the current run level. Processes with a value of a, b, c, or h in the run level field, are started in addition to the processes already running at the current system run level. Another difference between true run levels and a, b, c, or h, is that processes started with a, b, c, or h are not stopped when the init command changes run levels. There are three ways to stop a, b, c, or h processes:
- Type off in the Action field.
- Delete the objects entirely.
- Use the init command to enter maintenance state.

fj.pngrun.JPG

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/38267/viewspace-723317/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/38267/viewspace-723317/

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值