I've never heard of "halt", but this is generally a clean way to shutdown:
# shutdown -g0 -y -i0
If you wish to shutdown and reboot automatically, change that last argument to " -i6 ".
My guess is that "halt" won't go through all the same steps to stop various processes. I remember "haltsys" from the Xenix days, but I'm dating myself.
"Proof that there is intelligent life in Oregon. Well, Life anyway.
Exact name is haltsys. It is front-end procedure to uadmin command, which, according man ADM uadmin "is not for general use". You can see
# vi /etc/haltsys
Shutdown is front-end procedure to /etc/init, primarily init 0. Most concern is to inform users for near end of operation of server. Idea is to start shutdown a time before (hours, even morning) and shutdown will remind users more and more frequently until real stop.
You can see
# vi /etc/shutdown
I do not mention of course about man shutdown, hope this help
If you are absolutely sure you will not harm the processes
of users you can issue haltsys or reboot
As I try many times, it is safety. And much faster than shutdown. If not sure can recommend fastest form:
# shutdown -g0 -y
Immediate shutdown (0 minutes gracetime), 'Y' to all questions of shutdown "are sure ? etc"
Thanks everyone. Another of our UNIX systems (not a SCO box) runs a command called halt, which brings the system to a halted state. I was able to use the shutdown command, which worked fine.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.