Previous | Table of Contents | Next |
When you add new hardware to your system, you must use the -r option to the boot command so that the operating system knows to look for new device drivers and incorporate them as part of the boot process:
Occasionally, you may need to abort the booting process. The specific abort key sequence depends on your keyboard type. For example, you might press Stop-A or L1-A. On tty terminals, press the Break key.
To abort the booting process, type the abort key sequence for your system. When you abort the boot process, the monitor displays the ok PROM prompt:
ok
Type boot and press Return to restart the boot process, or type help and press Return to display a list of help options. If your terminal shows the > monitor prompt, type n to get the ok prompt.
The following sections describe how to use the shutdown and init commands to shut down a system.
Before shutting down a multiuser system, inform the other users on the system and give them time to complete critical procedures such as saving changes:
# cd / # shutdown Shutdown started Fri Aug 6 1Ø:5Ø:35 EDT 1993 Broadcast message from root (console) on earth Fri Aug 9 1Ø:59:35. THE SYSTEM IS BEING SHUT DOWN NOW ! ! ! LOG OFF NOW OR RISK YOUR FILES BEING DAMAGED Do you want to continue? (y or n): y The system is down. Changing to init state s - please wait. INIT: New run level S INIT: SINGLE USER MODE Type Ctrl-d to proceed with normal start-up, (or give root password for system maintenance):
If you want to change the default actions of the shutdown command, choose one of the tasks in the following six sections.
Shutting Down a System Without Confirmation
To shut down a system without confirmation, follow these steps:
Changing the Shutdown Grace Period The default is for the shutdown command to provide a 60-second grace period to enable users to save their changes. To change the shutdown 60-second grace period, follow these steps:
The following example changes the grace period to 120 seconds:
# d / # shutdown -g12Ø
Shutting Down and Rebooting a Multiuser System To shut down and reboot a multiuser system, follow these steps:
Shutting Down a Single - User System To shut down a single-user system, type telinit 0 (or init 0) and press Return. The init command runs scripts that bring the system down cleanly. No warning messages are broadcast.
Shutting Down and Rebooting a Single - User System To shut down and reboot a single-user system, type telinit 6 (or init 6 ) and press Return. Information is written to the disk, all active processes are killed, and the system is brought to a power-down state. The system is then rebooted to the default level (usually multiuser).
Shutting Down a System in a Hurry To shut down a system in a hurry, type uadmin 2 0 and press Return. Information is written to the disk and the system is brought to power-down state, displaying the PROM prompt.
The programs that are running on a system at any one time are called processes. You can monitor the status of processes, control how much CPU time a process gets, and suspend or halt the execution of a process.
Previous | Table of Contents | Next |