This version of this document is no longer maintained. For the latest documentation, see http://www.qnx.com/developers/docs. |
Shut down and reboot the system (QNX Neutrino)
You must be root to run this utility. |
shutdown [options]
The default is reboot.
The shutdown utility performs an orderly system shutdown as follows:
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.
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. |
Logging In, Logging Out, and Shutting Down in the Neutrino User's Guide