logo
Free, unlimited AI code reviews that run on commit
git-lrc git-lrc GitHub Install Now We'd appreciate a star git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt git-lrc - Free, unlimited AI code reviews that run on commit | Product Hunt

runalarm - enforce a time limit on execution of a process

Author

runalarm was written by Jamie Wilkinson <jaq@google.com>, based on some Python code by Craig Silverstein

Bugs

       Sending SIGALRM to runalarm before the timer has expired will cause the subprocess to be killed.

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.

See Also