haltsys(ADM)


haltsys, reboot -- close out filesystems and shut down the system

Syntax

/etc/haltsys [ -d ]

/etc/reboot

Description

The haltsys utility uses uadmin(ADM) to flush out pending disk I/O, mark the filesystems as clean, and halt the processor. haltsys takes effect immediately, so user processes should be killed beforehand. shutdown(ADM) is recommended for normal system shutdown, since it warns users, terminates processes, then calls haltsys. Use haltsys directly only if you cannot run shutdown; for example, because of some system problem.

haltsys displays a prompt indicating that the system has been shut down and can be rebooted or powered down. If the -d option is used, the system will remain down and you are not given the option to reboot.

The reboot command performs the same function as haltsys, except that the system is rebooted automatically afterwards.

Only the super user can execute haltsys or reboot.

Warning

haltsys locks hard disk heads.

See also

shutdown(ADM), uadmin(ADM), uadmin(S-osr5)

Standards conformance

haltsys is not part of any currently supported standard; it is an extension of AT&T System V provided by The Santa Cruz Operation, Inc.

reboot is not part of any currently supported standard; it was developed at the University of California, Berkeley and is used with permission.


© 2005 The SCO Group, Inc. All rights reserved.
SCO OpenServer Release 6.0.0 -- 03 June 2005