shutdown man page on IRIX

Man page or keyword search:  
man Server   31559 pages
apropos Keyword Search (all sections)
Output format
IRIX logo
[printable version]



shutdown(1M)							  shutdown(1M)

NAME
     shutdown - shut down system, change system state

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

DESCRIPTION
     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
     The root user at MAC label .I dblow does not need capabilities, whereas
     if the MAC label  other than dblow must at least have CAP_MAC_WRITE
     capability in their permitted set of capabilities to perform the shutdown
     operation.
     In addition, capability CAP_SHUTDOWN is needed when requesting to power
     off the system with the -p option.

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

									Page 2

[top]

List of man pages available for IRIX

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net