Restart a program (QNX)


restart [-e multiplier] [-l limit] [-t time] [-x seconds] command_line

Runs on:

QNX Neutrino


-e multiplier
(QNX Neutrino 7.0 or later) Specify a value to multiply the time interval by whenever the restart limit is reached. This value can't be 0; the default is 2. For example, if you specify -e 5, the time interval is multiplied by 5 each time that the limit is reached.
-l limit
The maximum number of restarts allowed during the time interval. When this this limit is reached, restart waits for the current time interval to expire before it resumes the restarting process. The default is 2.
-t time
The time interval (in seconds) in which restart limits the number of program restarts. The default is 60 seconds.
-x seconds
(QNX Neutrino 7.0 or later) The number of seconds that must elapse since the last program restart before reverting the time interval to its original value. This value is normally greater than or equal to the time interval. The default is 60 seconds.
The command that you want to restart.


The restart utility runs the program specified by command_line and restarts it if it exits for any reason other than a SIGKILL, SIGHUP, or SIGTERM.