HALTSYS(ADM) UNIX System V
Name
haltsys, reboot - closes out the file systems and shuts down
the system
Syntax
/etc/haltsys [ -d ]
/etc/reboot
Description
The haltsys utility performs a uadmin() system call (see
uadmin(S)) to flush out pending disk I/O, mark the file
systems 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 the system is rebooted automatically afterwards.
Only the super-user can execute haltsys or reboot.
Notes
haltsys locks hard disk heads.
See Also
shutdn(S), uadmin(S), shutdown(ADM)
reboot was developed at the University of California,
Berkeley, and is used with permission.
Value Added
haltsys and reboot are extensions of AT&T System V provided
by the Santa Cruz Operation.
(printed 2/15/90) HALTSYS(ADM)