Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ stopsys(1M) — HP-UX 5.20

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

chsys(1M)

killall(1M)

shutdown(1M)

sync(1M)

STOPSYS(1M)

Series 500 Only

NAME

stopsys − stop operating system with optional reboot

SYNOPSIS

/etc/stopsys [ −r ]

Remarks:

Stopsys is implemented on the Series 500 only. 

DESCRIPTION

Stopsys dumps all system I/O buffers to mass storage volumes (i.e. performs a sync(1M)), and shuts down all virtual memory activity.  Then, stopsys either stops the operating system so that the hardware may be powered down (no option), or it reboots the system (resets the machine’s processor(s) to the power-on state) (−r option).  The reboot (−r) option results in the activation of the system boot loader, almost exactly as if the power was just turned on, except that I/O cards are not power-cycled. 

Just before it stops the system, stopsys writes a message to /dev/console indicating that the system is stopped and can be safely powered down. 

Stopsys may be invoked only by the effective super-user.  However, it may be made public by setting the set-user-ID bit and assigning ownership to root. 

Stopsys does not ensure that the system is idle.  If any user processes are running, the sync(1M) may be ineffective.  You should execute shutdown(1M), or at least kill all non-essential processes, prior to running stopsys. 

SEE ALSO

chsys(1M), killall(1M), shutdown(1M), sync(1M). 

DIAGNOSTICS

Stopsys returns only if a non-fatal error occurs, in which case it writes a message to standard error and returns 1.  Non-fatal errors include:

invocation with improper arguments;
invocation by other than the effective super-user;
any failure to stop the system, as long as the system is still usable.

If stopsys fails to stop the system for any reason, but the system is then not in a usable state, stopsys writes an error message to /dev/console and then attempts to reboot (if −r was specified).  If −r was not specified, or if the reboot attempt fails, stopsys writes "system stopped" on /dev/console, and you must reboot the system yourself (using the power switch or the front panel). 

Note that if the reboot fails it indicates a hardware problem with the HP 9000 Model 20 keyboard on select code 6, or the HP 9000 Model 30/40 system control module on select code 7. 

BUGS

At this time, stopsys does not shut down Local Area Net (LAN) activity. 

Hewlett-Packard Company  —  April 12, 1993

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