haltsys(1M)


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

Synopsis

haltsys [-d]

reboot

Description

The haltsys command uses uadmin(1M) 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(1M) is recommended for normal system shutdown, because it warns users, terminates processes, then calls haltsys. Use haltsys directly only if you cannot run shutdown; for example, because of a system problem.

By default, haltsys displays a prompt indicating that the system has been shut down and can be rebooted or powered down.

The reboot command performs the same function as haltsys except the system is rebooted automatically afterward.

Command options


-d
specifies that the system remains shut down; the prompt offering an opportunity to reboot is not given.

Only users with appropriate privileges can execute haltsys and reboot.

Warning

haltsys locks hard disk heads.

References

shutdown(1M), uadmin(1M).

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, Berkley and is used with permission.


© 2004 The SCO Group, Inc. All rights reserved.
UnixWare 7 Release 7.1.4 - 25 April 2004