*nix Documentation Project
·  Home
 +   man pages
·  Linux HOWTOs
·  FreeBSD Tips
·  *niX Forums

  man pages->IRIX man pages -> shutdown (1)              
Title
Content
Arch
Section
 

Contents


shutdown(1M)							  shutdown(1M)


NAME    [Toc]    [Back]

     shutdown -	shut down system, change system	state

SYNOPSIS    [Toc]    [Back]

     cd	/; /etc/shutdown [ -y ]	[ -ggrace_period [ -iinit_state	] [ -p ]

DESCRIPTION    [Toc]    [Back]

     This command is executed by the superuser to change the state of the
     machine.  By default, it brings the system	down into the PROM monitor.

     The command sends a warning message and a final message before it starts
     actual shutdown activities.  By default, the command asks for
     confirmation before it starts shutting down daemons and killing
     processes.	 The options are used as follows:

     -y		      Pre-answers the confirmation question so the command can
		      be run without user intervention.	 A default of 60
		      seconds is allowed between the warning message and the
		      final message.  Another 60 seconds is allowed between
		      the final	message	and the	confirmation, unless the grace
		      period is	less than 60 seconds, in which case the	grace
		      period is	used.

     -ggrace_period   Allows the superuser to change the number	of seconds
		      from the 60-second default.

     -iinit_state     Specifies	the state that init(1M)	is to be put in
		      following	the warnings, if any.  By default, system
		      state "0"	is used.

     -p		      If the new init_state is 0, -p requests that the power
		      be turned	off after the system is	shut down.  Only some
		      systems support this.  For automatically turning the
		      system back on, see wakeupat(1M).

     The definitions of	the init_state values that shutdown accept are:

     state 0	      Stop the IRIX system and go to the firmware monitor.  At
		      this point it is safe to power down the machine.	The
		      /etc/rc0 procedure is called upon	entering this
		      init_state to perform various system cleanup functions.

     state 1, s, S    Bring the	machine	to the state traditionally called
		      single-user, which provides a quiescent system and a
		      superuser	shell running on the system console.  Upon
		      entering this state, the system kills all	user processes
		      and unmounts all filesystems except the root (local
		      filesystems may be remounted before the shell prompt
		      appears, in some implementations).  The /etc/rc0
		      procedure	is called to do	these and various other	system
		      cleanup functions.




									Page 1






shutdown(1M)							  shutdown(1M)



     state 6	      Stop the IRIX system and reboot to the state defined by
		      the initdefault entry in /etc/inittab.

CAPABILITIES    [Toc]    [Back]

     A superuser executing the /etc/shutdown command must have the
     CAP_SHUTDOWN, CAP_KILL and	CAP_MAC_WRITE capabilities in their permitted
     set of capabilities to successfully perform the shutdown operation.

SEE ALSO    [Toc]    [Back]

      
      
     init(1M), uadmin(1M), rc0(1M), rc2(1M), wakeupat(1M), inittab(4),
     capabilities(4).


									PPPPaaaaggggeeee 2222
[ Back ]
 Similar pages
Name OS Title
preset IRIX reset the lp spooling system to a pristine state by deleting printers
ch_rc HP-UX change system configuration file
pivot_root Linux change the root file system
pivot_root Linux change the root file system
vxresize HP-UX change the length of a volume containing a file system
skeyinit OpenBSD change password or add user to S/Key authentication system
opiepasswd FreeBSD Change or set a user's password for the OPIE authentication system.
yppasswd HP-UX change login password in Network Information System (NIS)
audevent HP-UX change or display event or system call audit status
devd FreeBSD device state change daemon
Copyright © 2004-2005 DeniX Solutions SRL
newsletter delivery service