REBOOT(1M)
NAME
reboot − reboot the system
SYNOPSIS
/etc/reboot [ −h | −r ] [ −n | −s ] [ −q ] [ −t time ] [ −m message ] [ −d device ] [ −f lif_filename ] [[ −l server_linkaddress ] | [ −b boot_server ]]
DESCRIPTION
Reboot terminates all currently executing processes, except those essential to the system, then halts or reboots the system. When invoked without arguments, reboot syncs all disks before rebooting the system.
Options
−h Shutdown the system and halt.
−r Shutdown the system and reboot automatically. (default)
−n Do not sync the file systems before shutdown.
−s Sync the file systems before shutdown; for file systems which 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(2) with arguments as indicated by the other options. 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, while 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.
−d device Reboot from the specified device. The device must be a LIF volume or LAN interface. This option cannot be used with −h.
−f lif_filename Reboot from the specified file. If the filename is an empty string, the power-up search sequence is made for a system. Otherwise, the file name has to follow the LIF filename convention (see lif(4)). This option cannot be used with −h.
−l server_linkaddress
Use the system identified by this address as the new boot server. This is the ETHERNET link address of the LAN interface card; for example, "0x80009006997". This number must be in a format acceptable to reboot(2). If the new server is on a LAN connected to a different interface, the −d option also must be specified. The named system must be an active HP Cluster server, properly configured to serve this cluster node.
−b boot_server Use the system boot_server as the new boot server. The named system must be an active HP Cluster server, properly configured to serve this cluster node, and listed in the file /etc/boot_servers. Entries in this file have the following syntax:
server_name server_linkaddress[ device ] # comment
The −l and −b options cannot be used together.
At shutdown time a message is written in the file /usr/adm/shutdownlog (if it exists), containing the time of shutdown, who ran reboot, and the reason.
In the HP Clustered environment, executing reboot on the cluster server of a cluster causes all of the cluster nodes to be rebooted. Each cluster node will be rebooted by a reboot command executing locally. The arguments for these local reboot commands are copied from the cluster server’s reboot command, with the exception of the −d and −f options. Using the −l or −b option on the cluster server causes all members of the cluster, including the cluster server, to reboot using the new server. On a client system, only the client is rebooted, and the effect is to change cluster servers.
Executing reboot on a client node only affects that node.
Only the super-user can execute the shutdown command.
DEPENDENCIES
Series 800
The −f option is not supported. The device specified with the −d option must refer to a LAN interface.
AUTHOR
Reboot was developed by HP and the University of California, Berkeley.
FILES
/usr/adm/shutdownlog shutdown log
/etc/boot_servers table of system names usable with the −b option.
SEE ALSO
Hewlett-Packard Company — HP-UX Release 7.0: Sept 1989