HP-UX Reference (11i v1 00/12) - 1M System Administration Commands N-Z (vol 4)
__________________________________________________________________________________________________________________________________________________________________________________________________
__________________________________________________________________________________________________________________________________________________________________________________________________
STANDARD Printed by: Nora Chuang [nchuang] STANDARD
/build/1111/BRICK/man1m/naaagt.1m
________________________________________________________________
___ ___
r
reboot(1M) reboot(1M)
NAME
reboot - reboot the system
SYNOPSIS
/usr/sbin/reboot [-h-r][-n-s][-q][-t time][-m message]
/usr/sbin/reboot -R [-H][-n-s][-q][-t time][-m message]
DESCRIPTION
The reboot command terminates all currently executing processes except those essential to the system,
then reboots the system, or halts, or makes the partition ready for reconfig. When invoked without argu-
ments, reboot syncs all disks before rebooting the system.
Options
The reboot command recognizes the following options:
-h Shut down the system and halt.
-r Shut down the system and reboot automatically (default).
-R Shut down the system to a ready to reconfig state and reboot automatically. This
option is availableonly on systems that support hardware partitions.
-H Shut down the system to a ready to reconfig state and do not reboot. This option can
be used only in combination with the -R option. This option is available only on sys-
tems that support hardware partitions.
-n Do not sync the file systems before shutdown.
-s Sync the file systems before shutdown; for file systems that were cleanly mounted,
modify the fs_clean flag from FS_OK to FS_CLEAN (default).
-q Quick and quiet. Suppress broadcast of warning messages, terminate processes by
brute force (with SIGKILL) and immediately call reboot with arguments as indi-
cated by the other options (see reboot(2)). No logging is performed. The -t and -m
options are ignored with this option.
-t time Specify what time reboot will bring the system down. time can be the word now
(indicating immediate shutdown) or a future time in one of two formats: +number
and hour
:min. The first form brings the system down in number minutes; the second
brings the system down at the time of day indicated (based on a 24-hour clock).
-m message Display message at the terminals of all users on the system at decreasing intervals as
reboot time approaches. The message must not contain any embedded double quotes.
At shutdown time a message is written in the file
/etc/shutdownlog
(if it exists), containing the time of shutdown, who ran reboot, and the reason.
Only users with appropriate privileges can execute the shutdown command.
WARNINGS
reboot does not invoke the shutdown scripts associated with subsystems to bring them down in a cau-
tious manner. See shutdown(1M).
AUTHOR
reboot was developed by HP and the University of California, Berkeley.
FILES
/etc/shutdownlog Shutdown log
SEE ALSO
reboot(2).
Section 1M−−694 − 1 − HP-UX Release 11i: December 2000
___
___