Manual Page Result
0
Command: reboot | Section: 8 | Source: Digital UNIX | File: reboot.8.gz
reboot(8) System Manager's Manual reboot(8)
NAME
reboot - Restarts the machine
SYNOPSIS
/usr/sbin/reboot [-dlnq]
DESCRIPTION
When the system is running and multiple users are logged in, use the
shutdown -r command to perform a reboot operation. If no users are
logged in, use the reboot command.
The reboot command normally stops all running processes, syncs the
disks, logs the reboot, and writes a shutdown entry in the login ac-
counting file, /var/adm/wtmp.
The reboot command uses the sync call to synchronize the disks, and to
perform other shutdown activities such as resynchronizing the hardware
time-of-day clock. After these activities, the system reboots. By de-
fault, the system starts and the file systems are automatically
checked. If the start-up activities are successful, the system comes
up in the default run-level.
You must have root privileges to use this command. Using the -n flag
can result in file system damage.
FLAGS
Generates a crash dump of the system before halting it. Can be used
with any of the other flags. Does not log the reboot using syslog Does
not sync the disks or log the reboot using syslog Performs a quick re-
boot without first shutting down running processes; does not log the
reboot using syslog
EXAMPLES
To enable the default reboot action, enter: reboot This command causes
the system to stop all running processes, sync the disks, log the shut-
down, and perform other routine shutdown and reboot activities. To
shut down the system without logging the reboot, enter: reboot -l This
command shuts down the system and performs all shutdown and reboot ac-
tivities, except logging the shutdown. To reboot the system abruptly,
enter: reboot -q This command reboots the system abruptly without shut-
ting down running processes.
FILES
Specifies the command path Specifies the login accounting file Speci-
fies the path of the syslog daemon
RELATED INFORMATION
Commands: fsck(8), halt(8), init(8), savecore(8) shutdown(8), sys-
logd(8)
Functions: reboot(2), sync(2), syslog(3) delim off
reboot(8)