runalarm - enforce a time limit on execution of a process
Contents
Bugs
Sending SIGALRM to runalarm before the timer has expired will cause the subprocess to be killed.
Copyright
This program is copyright (C) 2000-2010 Google, Inc.
It is licensed under the Apache License, Version 2.0
Google, Inc. October 18, 2010 RUNALARM(1)
Description
runalarm tries to execute a command and, if the subprocess does not exit before a timer expires, tries to
terminate that subprocess. Otherwise, the exit status of the command is returned.
Name
runalarm - enforce a time limit on execution of a process
See Also
runlock(1), runstat(1)
Synopsys
runalarm [ -h ]
runalarm [ -d ] [ -ttimeout ] command [ args ]
Usage
-d
Debug mode; send log messages to standard error as well as to the system log.
-ttimeout
Specifies the duration, in seconds, for runalarm to allow the command to run. The default is 1d
duration (86400 seconds).
-h
Prints some basic help.
