Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

lif∗(1)

reboot(2)

lif(4)

privilege(5)

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

reboot recognizes the following options:

-h Shut down the system and halt. 

-r Shut down 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 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. 

-d device (Series 300 and 400 only) 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 (Series 300 and 400 only) 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
(Series 300 and 400 only) 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, 0x080009006997.  This number must be in a format acceptable to reboot().  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 (Series 300 and 400 only) Use 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/bootservers.  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 causes all of the cluster nodes to be rebooted.  Executing it on a swap server causes all swap clients to be rebooted.  Executing reboot on a cluster client reboots the client system.  Arguments for local reboot commands are copied from the server’s reboot command, with the exception of the -n, -q, -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 swap server client system, all swap clients and the swap server are rebooted using the new server.  On a client system that is not a swap server, only the client is rebooted, and the effect is to change cluster servers. 

Executing reboot on a client node that is a swap server affects that node and all of its swap clients.  Executing reboot on a client node that is not a swap server only affects that node. 

Only users with appropriate privileges can execute the shutdown command. 

DEPENDENCIES

Series 700/800

The -b, -d, -f, and -l options are not supported. 

AUTHOR

reboot was developed by HP and the University of California, Berkeley. 

FILES

/usr/adm/shutdownlog shutdown log

/etc/bootservers table of system names usable with the -b option. 

SEE ALSO

lif∗(1), reboot(2), lif(4), privilege(5). 

Hewlett-Packard Company  —  HP-UX Release 9.0: August 1992

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026