ITPub博客

首页 > Linux操作系统 > Linux操作系统 > AIX Run Levels

AIX Run Levels

原创 Linux操作系统 作者:spider0283 时间:2012-05-11 09:24:43 0 删除 编辑


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.

run.JPG

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

上一篇: AIX /etc/inittab文件
请登录后发表评论 登录
全部评论

注册时间:2011-03-29

  • 博文量
    194
  • 访问量
    609407