HALT(8) System Manager's Manual HALT(8)NAME
halt - abruptly stop the system
Halt stops the system almost immediately. The users are not informed about the things to come. Halt is logged in /usr/adm/wtmp and in
/usr/adm/authlog, if these files exist. Halt should only be run by the super-user, any other caller will be refused.
Halt is a rather rude program. Shutdown(8) is preferred for it performs a more gentle halt routine.
Halt -f is even worse, it omits the terminate signals that are normally sent first to all processes to give them a chance to die peace-
SEE ALSO reboot(2), shutdown(8), reboot(8), boot(8).
Edvard Tuinder (email@example.com.NL)
Check Out this Related Man Page
HALT(8) Linux System Administrator's Manual HALT(8)NAME
halt, reboot, poweroff - stop the system.
/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h]
/sbin/reboot [-n] [-w] [-d] [-f] [-i]
/sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h]
Halt notes that the system is being brought down in the file /var/log/wtmp, and then either tells the kernel to halt, reboot or poweroff
If halt or reboot is called when the system is not in runlevel 0 or 6, in other words when it's running normally, shutdown will be invoked
instead (with the -h or -r flag). For more info see the shutdown(8) manpage.
The rest of this manpage describes the behaviour in runlevels 0 and 6, that is when the systems shutdown scripts are being run.
OPTIONS -n Don't sync before reboot or halt.
-w Don't actually reboot or halt but only write the wtmp record (in the /var/log/wtmp file).
-d Don't write the wtmp record. The -n flag implies -d.
-f Force halt or reboot, don't call shutdown(8).
-i Shut down all network interfaces just before halt or reboot.
-h Put all harddrives on the system in standby mode just before halt or poweroff.
-p When halting the system, do a poweroff. This is the default when halt is called as poweroff.
If you're not the superuser, you will get the message `must be superuser'.
Under older sysvinit releases , reboot and halt should never be called directly. From release 2.74 on halt and reboot invoke shutdown(8) if
the system is not in runlevel 0 or 6. This means that if halt or reboot cannot find out the current runlevel (for example, when
/var/run/utmp hasn't been initialized correctly) shutdown will be called, which might not be what you want. Use the -f flag if you want to
do a hard halt or reboot.
The -h flag puts all harddisks in standby mode just before halt or poweroff. Right now this is only implemented for IDE drives. A side
effect of putting the drive in standby mode is that the write cache on the disk is flushed. This is important for IDE drives, since the
kernel doesn't flush the write-cache itself before poweroff.
The halt program uses /proc/ide/hd* to find all IDE disk devices, which means that /proc needs to be mounted when halt or poweroff is
called or the -h switch will do nothing.
Miquel van Smoorenburg, firstname.lastname@example.org
SEE ALSO shutdown(8), init(8)
Nov 6, 2001 HALT(8)
I have just recently installed solaris8 on my box, and got two minor problems: Based on the size of partitions i should have approx 10gigs of mem., but the system registeres 0 space available on my harddrive....That problem results in a slight inability to install any apps... The second problem is... (3 Replies)
I tried to use the sndconfig tool to set up my sound card. When it does the probe it finds an acer pci sound card, but I have a trident. This wouldn't bother me so much if it worked. Is there a way to configure my sound card by picking it off a list of cards?
The second problem I'm having is... (3 Replies)
could tell my anyone where solaris 8 stores the logs about shutdown/halt command. I found no entries in syslog, but there more logs directories.
probabaly a stupid question, but fast help would be great!
patrick (6 Replies)
Perhaps I am asking a silly question, but I really don't know about it. Can anyone tell me the function for "sleep" kind of functionality in C language for Unix. I don't think any function with the name of sleep() exits in Unix's C language. or perhaps I am not known with the header file... (3 Replies)
I have to delete the non- global zone from one of the server.
As per my understanding we need to halt the zone , then uninstall and later delete it with zoneadm however once I am trying to halt the zone the screen is getting hanged, after canceling the process and... (23 Replies)
My application gets hang at the popen statement in Soalris 5.8. While debugging I found that it halts at _lwp_sema_wait. After googling I have added /usr/lib/lwp in the LD_LIBRARY_PATH and now it halts at lwp_park. Please help me what I need to do to solve this issue. The application runs... (6 Replies)
I've got critical patching this weekend on 6 HP UX machines, back to back and the customer has requested to shutdown, and halt the machines and to bring it up at a later period. The thing is the servers are located offshore and we are just the support team. I have a special login thru a console... (16 Replies)
Installing Solaris 8 for the first time...on a SunBlade 100. I have original Solaris 8 CD's.
About 45 minutes into the installation, the install halts with the following errors:
ERROR: Could not open file /a/etc/vfstab
ERROR: Could not create the file system mount table /etc/vfstab
I... (4 Replies)
I want to make a auto shutdown program which will shutdown my sun solaris machine automatically after two days.
Please help me out in this. I dont have a GUI. Want to do it through command prompt.
Guru (6 Replies)
sry for my bad english, is not my native language http://forums.citrix.com/images/emoticons/wink.gif
I have a XenServer, and XenServer runs on a RedHat linux system.
So i would start my xenserver with wake on lan.
I configured the network card with the ethtool: the option... (7 Replies)
I am running a solaris 10 with oracle 10 on a system with 96 GB physical memory. the system has a lot of swap space. the oracle SGA is 50 GB and PGA 40 GB. Here are the stats
interrupt total rate
clock ... (5 Replies)
i have two aix system
-Model : P770
-OS version: AIX 6.1
-patch level : 6100-07-04-1216
-ha version : HACMP v 220.127.116.11
-host : A, B
last Wednesday, my B system suddenly went down with crash dump. after 1 minute, A system went down with crash dump. I checked the dump of A-system... (6 Replies)