If the process already exists, continue scanning the inittab file. Only when the system receives a power fail signal. Table 6-3 Run Level 3 Action Key Word Descriptions Table 6-3 describes the key words used for run level 3's action field. See init(1M) for a detailed description of how the init process uses the inittab file. Identify the initdefault entry, which defines the default run level (3).Įxecute any process entries that have sysinit in the action field so that any special initializations can take place before users login.Įxecute any process entries that have 3 in the rstate field, which matches the default run level, 3. Then init reads the inittab file to do the following: By default, only the TIMEZONE variable is set. The init process is started and reads the /etc/default/init file to set any environment variables. What Happens When the System Is Brought to Run Level 3 d /dev/console -l console -m ldterm,ttcompat SS:s:wait:/sbin/rcS >/dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console /dev/console 2/dev/console Possible values include: initdefault, sysinit, boot, bootwait, wait, and respawn. Table 6-2 Fields in the inittab FileĪ list of run levels to which this entry applies. Table 6-2 describes the fields in an inittab entry. What actions to be taken when the system enters a new run levelĮach entry in the /etc/inittab file has the following fields: What processes to start, monitor, and restart if they terminate This file defines three important items for the init process: When you boot the system or change run levels with the init or shutdown command, the init daemon starts processes by reading information from the /etc/inittab file. Identifies the number of times at this run level since Identifies the date of last run level change. Use the who -r command to determine a system's current run level for any level except run level 0. To multiuser state (or whatever level is the default in the inittab file).ĭisplay run level information by using the who -r command to determine a system's run level. To shut down the system to run level 0, and then reboot If possible, automatically turn off system power on systems that support this feature. To shut down the operating system so that it is safe to turn off power to the system. All daemons are running except for the NFS server daemons.įor normal operations with NFS resource-sharing available. Multiple users can access the system and the entire file system. To access all available file systems with user logins allowed.įor normal operations. To run as a single user with all file systems mounted and accessible. To shut down the operating system so that it is safe to turn off power to The default run level is specified in the /etc/inittab file as run level 3.
#Nfs run level software
The Solaris software environment has eight run levels, which are described in Table 6-1. A system can be in only one run level at a time. This is a list of overview information in this chapter.Ī system's run level (also known as an init state) defines what services and resources are available to users. "How to Use a Run Control Script to Stop or Start a Service" This is a list of the step-by-step instructions in this chapter. This chapter provides guidelines for shutting down and booting a system and information about run levels and boot files. Chapter 6 Run Levels and Boot Files (Tasks)