My space web page - wait The same as once, but init waits
wait The same as once, but init waits for the command to finish before continuing with other inittab entries. respawn The process is monitored, and a new instance is started if the original process terminates. powerfail The command is executed on receiving a SIGPWR signal from software associated with an UPS unit. powerwait The same as powerfail, but init waits for the command to finish. powerwaitok The command is executed on receiving a SIGPWR signal if the /etc/powerstatus file contains the word OK. This is generally accomplished by the UPS software, and indicates that a normal power level has been restored. ondemand The command is executed when init is manually instructed to enter one of the special run levels a, b, or c (equivalent to A, B, and C, respectively). No change in run level actually takes place. The program is restarted if the original process terminates. sysinit The command is executed during the system boot phase; the runlevelsfield is ignored. boot The command is executed during the system boot phase, after all sysinit entries have been processed; the runlevels field is ignored. bootwait The same as boot, but init waits for the command to finish before continuing with other inittab entries; the runlevels field is also ignored. initdefault The run level to enter after completing the boot and sysinit actions. off Nothing happens (perhaps useful for testing and debugging). ctrlaltdel Traps the Ctrl+Alt+Del key sequence, and is typically used to gracefully shut down the system. kbrequest Used to trap special key sequences, as interpreted by the keyboard handler. Breakdown of the inittab file Because the inittab file is a configuration file and not a sequential shell script, the order of lines is not significant. Lines beginning with a # character are considered comments and are not processed. The first noncommented line in the preceding sample inittab file sets the default run level to 3. A default of 3 means that, following the completion of all commands associated with the sysinit, boot, and bootwait actions, run level 3 will be entered (booting to a text-based login). The other common initdefault level is run level 5 (booting to a GUI). Table 12-5 describes each of the run levels and helps you choose the run level that is best suited as the default in your environment. Table 12-5: Possible Run Levels Run Level What Happens in This Run Level 0 All processes are terminated and the machine comes to an orderly halt. As the inittab comments point out, this is not a good choice for initdefault, because as soon as the kernel, modules, and drivers are loaded, the machine will halt. 1, s, S This represents single-user mode, which is most frequently used for system maintenance and in situations where it may be preferable to have few processes running and no services activated. In single-user mode, the network is nonexistent, the X server is not running, and it is possible that some file systems are not mounted. 2 Multiuser mode. Multiple user logins are allowed, all configured file systems are mounted, and all processes except X, the at daemon, the xinetd daemon, and NIS/NFS are started. If your machine doesn t have (or perhaps doesn t need) a permanent network
Looking for affordable and reliable webhost to host and run your business application? Then look no more and go to servlet web hosting services.