Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

halt(8) [minix man page]

HALT(8) 						      System Manager's Manual							   HALT(8)

NAME
halt - abruptly stop the system SYNOPSIS
halt [-f] DESCRIPTION
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- fully. SEE ALSO
reboot(2), shutdown(8), reboot(8), boot(8). AUTHOR
Edvard Tuinder (v892231@si.hhs.NL) HALT(8)

Check Out this Related Man Page

HALT(8) 						Linux System Administrator's Manual						   HALT(8)

NAME
halt, reboot, poweroff - stop the system. SYNOPSIS
/sbin/halt [-n] [-w] [-d] [-f] [-i] [-p] [-h] /sbin/reboot [-n] [-w] [-d] [-f] [-i] /sbin/poweroff [-n] [-w] [-d] [-f] [-i] [-h] DESCRIPTION
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 the system. 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. DIAGNOSTICS
If you're not the superuser, you will get the message `must be superuser'. NOTES
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. AUTHOR
Miquel van Smoorenburg, miquels@cistron.nl SEE ALSO
shutdown(8), init(8) Nov 6, 2001 HALT(8)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Solaris8(intel)

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)
Discussion started by: Diesel
3 Replies

2. UNIX for Dummies Questions & Answers

Problems with Red Hat 7.1

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)
Discussion started by: crashman0
3 Replies

3. UNIX for Advanced & Expert Users

Data Access Error

Dear Reader, My Sun Machine comes to halt with a message 'Data Access Error'. What / Where could be wrong..?? Thanks in Advance.... (5 Replies)
Discussion started by: joseph_shibu
5 Replies

4. UNIX for Advanced & Expert Users

where's solaris halt log?

hi folks 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! thanks king regards, patrick (6 Replies)
Discussion started by: mrsaint
6 Replies

5. Programming

How to halt Prog Execution for some time?

Hi, 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)
Discussion started by: Ahsan
3 Replies

6. UNIX for Dummies Questions & Answers

making a .sh wait for user input

I need a script to halt at the end and wait for the user to hit a key...could be any ket or enter. I know it can be done but I am just starting out.. Thanks (9 Replies)
Discussion started by: verystupid
9 Replies

7. Solaris

unable to halt the zone

Hi Experts, 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)
Discussion started by: kumarmani
23 Replies

8. Programming

C++ application halts at popen system call

Hi All, 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)
Discussion started by: Amiya Rath
6 Replies

9. Solaris

SunBlade 1000, 'blocked' when trying to install Solaris 10

HW: SunBlade 1000 w/2x CPUs, DVD-ROM, XVR-1200 SW: Solaris 10 DVDs direct from Sun Tried: probing scsi, boot -r, reset-all When booting off cd: boot cdrom Boot device: /pci@8, 700000/scsi/scsi@6/disk@6,0:f File and args: SunOS Release 5.10 Version Generic_141444-09 64-bit Copyright... (8 Replies)
Discussion started by: boolean2
8 Replies

10. Emergency UNIX and Linux Support

Shutdown to a Halt and restart

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)
Discussion started by: hedkandi
16 Replies

11. Solaris

Solaris 8 fresh install halts

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)
Discussion started by: cdunavent
4 Replies

12. Solaris

Autoshutdown in Solaris

Hi 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. Regards Guru (6 Replies)
Discussion started by: gnanagurus
6 Replies

13. Red Hat

WOL problems "halt"

Hello, 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)
Discussion started by: PeterStrunz
7 Replies

14. Solaris

Solaris paging bringing system to halt

Hi experts, 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 vmstat -i interrupt total rate -------------------------------- clock ... (5 Replies)
Discussion started by: afadaghi
5 Replies

15. AIX

Crash dump and Panic message : RSCT Dead Man Switch Timeout for HACMP; halting non-responsive node

Dear all i have two aix system -Model : P770 -OS version: AIX 6.1 -patch level : 6100-07-04-1216 -ha version : HACMP v 6.1.0.8 -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)
Discussion started by: tomato00
6 Replies