rc0 man page on IRIX

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



rc0(1M)								       rc0(1M)

NAME
     rc0 - run commands required to enter single-user mode or halt the system

SYNOPSIS
     /etc/rc0

DESCRIPTION
     This file is executed by an entry in /etc/inittab and is responsible for
     performing those operations that bring the system down to either the
     administrative maintenance state, traditionally state s, called the
     "single-user" state, or to the system halt state in preparation for
     powering the system down.

     /etc/rc0 runs files beginning with K in /etc/rc0.d.  These files are
     executed by /bin/sh in ascii sort-sequence order (see FILES below for
     more information).

     Each of these files can also check the state of the corresponding
     chkconfig flag for that function.	If the state is on the script goes on
     to shut down or otherwise stop that function; if the state is off it does
     not attempt to stop that function on the theory that since that flag is
     off, it was never started in the first place.  (See chkconfig(1M)).

     The functions performed by the /etc/rc0 command and associated /etc/rc0.d
     files include:

     Stop System Services and Daemons

	  Various system services (such as networking or print spooling) are
	  gracefully terminated.

	  When new services are added that should be terminated when the
	  system is shut down, the appropriate files are installed in
	  /etc/rc0.d.

     Terminate Processes

	  A SIGTERM signal is sent to all running processes by killall(1M);
	  this lets processes stop themselves cleanly.

     Kill Processes

	  A SIGKILL signal is sent to all remaining processes; no process can
	  resist SIGKILL.

	  At this point the only processes left are those associated with
	  /etc/rc0 and a few privileged system processes.

     Unmount All Filesystems

	  Only the root filesystem (/) remains mounted.

									Page 1

rc0(1M)								       rc0(1M)

FILES
     Files in /etc/rc0.d must begin with a K followed by a number and the rest
     of the filename.  Upon entering run level 0 or 6, files beginning with K
     are executed with an argument of stop . Files in /etc/rc0.d are typically
     symbolic links to files in /etc/init.d.  Files beginning with other
     characters are ignored.  See rc2(1M) for more information.

SEE ALSO
     killall(1M), rc2(1M), shutdown(1M).

									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