reboot.1m (2010 09)

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 reconfiguration. When invoked
without arguments, 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-reconfigure state and reboot if possible. If the
partition is unable to reboot, it will stop at a ready-to-reconfigure state. However, if
the -H option is also specified, the system will always stop at ready-to-reconfigure
state. This option is available only on systems that support hardware partitions.
-H Shut down the system to a ready-to-reconfigure state and do not reboot. This option
can be used only in combination with the -R option. This option is available only on
systems that support hardware partitions.
-n Do not sync the file systems before shutdown. The -t and -m options are ignored
with this option.
-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
reboot command.
WARNINGS
reboot does not invoke the shutdown scripts associated with subsystems to bring them down in a cau-
tious manner. See shutdown (1M).
If the
-R option is used in a virtual partition environment on a partitionable system, then the requested
reconfiguration will not take place until all the virtual partitions on that hard partition are shut down
and the virtual partition monitor is rebooted.
AUTHOR
reboot was developed by HP and the University of California, Berkeley.
HP-UX 11i Version 3: September 2010 1 Hewlett-Packard Company 1

Summary of content (2 pages)