Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX 11i Version 1.5 Reference Volume 2, Section 1M: System Administration Commands > r

reboot(1M)

» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

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 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 reconfig state and reboot automatically. This option is available only 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 systems 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 indicated 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 cautious 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).

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2001 Hewlett-Packard Development Company, L.P.