shut down and reboot the system (QNX)
shutdown [-f] [-n node]
The shutdown utility performs an orderly system shutdown. This consists of first causing a SIGPWR to be sent to all processes, waiting for ten seconds, then performing a reboot of the system. The ten second interval allows processes that have elected to catch the SIGPWR signal to perform any cleanup they need to do before the system is rebooted.
The shutdown utility sends messages to the Proc manager to accomplish both the sending of SIGPWR to all processes and the rebooting of the system. Some PC motherboards have problems with the standard methods of performing soft-reboots. If the system hangs after the ten-second countdown instead of rebooting, look at the options to the Proc manager to see if your version of Proc has an option to use an alternate method of soft-rebooting the system (if so you would have to add this to the invocation of Proc in the OS build-file -- see buildqnx).