Warning: main(/www/www/htdocs/style/globals.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/shutdown.html on line 1

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/globals.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/shutdown.html on line 1

Warning: main(/www/www/htdocs/style/header.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/shutdown.html on line 8

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/header.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/shutdown.html on line 8

shutdown

Shut down and reboot the system (QNX Neutrino)


Note: You must be root to run this utility.

Syntax:

shutdown [options] 

Runs on:

Neutrino

Options:

-b
Shut down but don't reboot. You can't use this option with -n nodename.
-f
Shut down fast. Reduce the amount of time between sending a SIGTERM signal and a sending a SIGKILL to processes that catch SIGTERM.
-n nodename
Shut down the specified node (default is current node).
-q
Be quiet.
-S type
The type of shutdown, which must be one of:

The default is reboot.

-v
Be verbose.

Description:

The shutdown utility performs an orderly system shutdown as follows:

  1. It sends a SIGTERM signal to all processes listed under /proc.
  2. It then waits for a period of time (reduced if you specify the -f option).
  3. It sends a SIGKILL signal to all remaining processes.
  4. It reboots the system (unless you specified the -b option).

The interval between the SIGTERM and SIGKILL signals allows processes that have elected to catch the SIGTERM signal to perform any cleanup they need to do before the system is rebooted.

Files:

/var/log/wtmp
If this file already exists, shutdown adds an entry to it before shutting down or rebooting the system.

Note: The shutdown utility doesn't create /var/log/wtmp if it doesn't already exist. This file can quickly become very big, which isn't good on an embedded system with limited resources.

See also:

phshutdown, procnto

Logging In, Logging Out, and Shutting Down in the Neutrino User's Guide


Warning: main(/www/www/htdocs/style/footer.php) [function.main]: failed to open stream: No such file or directory in /www/www/docs/6.4.1/neutrino/utilities/s/shutdown.html on line 188

Warning: main() [function.include]: Failed opening '/www/www/htdocs/style/footer.php' for inclusion (include_path='.:/www/www/common:/www/www/php/lib/php') in /www/www/docs/6.4.1/neutrino/utilities/s/shutdown.html on line 188