HP-UX SHUTDOWN (1M)
The -d and -f options and device and IiI-file parameters are not supported.
SEE ALSO
init{lM), killall{lM), mount{lM), reboot{lM), sync{lM).
Hewlett-Packard Company - 2 - Version B.l, October 1986
STOPSYS (1M) STOPSYS (1M) Series 500 Only
NA~fE
stopsys - stop operating system with optional reboot SYNOPSIS
/etc/stopsys [ -r J 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(lM)), 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 sys-tem 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 set-ting 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(IM) may be ineffective. You should execute shutdoum(IM), or at least kill all non-essential processes, prior to running stopsys.
SEE ALSO
chsys(IM), killall(IM), shutdown(IM), sync(IM).
DIAGNOSTICS
BUGS
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 H system stopped H 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.
At this time, stopsys does not shut down Local Area Net (LAN) activity.
Hewlett-Packard Company - 1 - October 1986
SW APON[HFS) (1M) HP-UX Series 200, 300, 800 Only
SW APON[HFS) (1M)
NAME
swapon - enable additional device for paging and swapping SYNOPSIS
/etc/swapon -a /etc/swapon name DESCRIPTION
Swapon is used to enable additional devices on which paging and swapping are to take place. The system begins by swapping and paging on only a single device so that only one disk is required at bootstrap time. Calls to 8wapon normally occur in the system multi-user initialization file /etc/rc making all swap devices available, so that the paging and swapping activity is interleaved across several devices.
Normally, the -a argument is given, causing all devices marked as "sw" swap devices in /etc/checklist to be made available.
The second form announces individual block devices to be used for paging and swapping. These block devices must have been setup at system configuration time. Name must specify a block spe-cial file.
WARNINGS
There is no way to stop paging and swapping on a device.
Exercise due caution when enabling swap space on a device that may be unmounted during sys-tem operation or removed from the syssys-tem.
HARDW ARE DEPENDENCIES
The HFS file system is implemented on Series 200 beginning with HP-UX Release 5.0, and on Series 300 and Series 800.
FILES
/dev/dsk/#s# Normal paging devices.
AUTHOR
Swapon was developed by the University of California, Berkeley.
SEE ALSO swapon(2).
Hewlett-Packard Company - 1 - Version B.1, October 1986
SYNC (1M)
NAME
sync - update the super block SYNOPSIS
sync DESCRIPTION
HP.;UX SYNC (1M)
Sync executes the sync system intrinsic. If the system is to be stopped, sync must be called to insure file system integrity. It will flush all previously unwritten system buffers out to disk, thus assuring that all file modifications up to that point will be saved. See sync(2) for details.
SEE ALSO sync(2).
Hewlett-Packard Company - 1 - Version B.1, October 1986
SYNCER(lM) HP-UX SYNCER(lM)
NAME
syncer - periodically sync for file system integrity SYNOPSIS
/ etc / syncer [ seconds 1 [ -d directory ... 1 DESCRIPTION
Syneer is a program that periodically executes syne(2) at an interval determined by the input argument seconds. If seconds is not specified, the default interval is every 30 seconds. This ensures that the file system is fairly up-to-date in case of a crash. This command should not be executed directly, but should be executed at system boot time via /ete/re, which is invoked at boot time via /ete/inittab.
The -d option is used to open directories for cache benefit. All directories must be specified by their full pathname. If the -d option is not used, no directories will be opened.
AUTHOR
Syneer was developed by the Hewlett-Packard Company, and the University of California, Berke-ley California, Computer Science Division, Department of Electrical Engineering and Computer Science.
SEE ALSO
brc(lM), init(lM), sync(l), sync(2).
Hewlett-Packard Company - 1 - Version B.l, October 1986
SYSDIAG(IM) SYSDIAG (1M) Series 800 Only
NAME
sysdiag - online diagnostic system interface SYNOPSIS Hardware Support Documentation Set. Sysdiag accepts conunands from eithpr standard input or the specified filename.
The online diagnostic system allows the user to diagnose the computer system hardware without placing the system into single-user mode. Certain restrictions apply to running diagnostics in an online environment. These restrictions are necessary to protect user data. Each diagnostic pro-gram defines which operations destroy data and which do not. Typically, those operations that destroy data cannot be run in a multi-user environment. For further information, see the refer-ence manual for each of the diagnostic programs.
Command Summary
abort Abort an active diagnostic progranl.
ci or ! Fork and exec a shell.
Produce a hardcopy of all sysdiag and diagnostic program input and output.
Provide online help for sysdiag and diagnostic programs.
purge
Add a diagnostic program to the diagnostic system.
List the installed diagnostic programs.
Remove a diagnostic program from the diagnostic system.
Edit and execute a previous conunand.
Restart execution of a diagnostic program.
Begin execution of a diagnostic program.
Show active diagnostic programs.
Suspend execution of a diagnostic program.
Redirect standard input for sysdiag.
Wait for background diagnostic programs to terminate.
HARDW ARE DEPENDENCIES
Series 200, Series 300, and Series 500
The online diagnostic system is not supported on these systems.
AUTHOR
SYSDIAG(lM) SYSDIAG(lM) Series 800 Only