Sponsored Content
Full Discussion: waitmax 1.1 (Default branch)
Special Forums News, Links, Events and Announcements Software Releases - RSS News waitmax 1.1 (Default branch) Post 302181602 by Linux Bot on Thursday 3rd of April 2008 11:50:01 AM
Old 04-03-2008
waitmax 1.1 (Default branch)

Waitmax is a small command line utility thatexecutes a program in a new process. If thatprocess does not exit withing a certain time, itis killed with the TERM signal. The precompiledRPM runs on all i386-based systems. It contains aversion of waitmax that is statically linked withdiet and does not need libc or any other library.License: GNU General Public License v2Changes:
fprintf was removed and the code size was shrunk from 16K to 9K in the statically linked version.Image

More...
 
TIMEOUT(1)						    BSD General Commands Manual 						TIMEOUT(1)

NAME
timeout -- run a command with a time limit SYNOPSIS
timeout [--signal sig | -s sig] [--preserve-status] [--kill-after time | -k time] [--foreground] <duration> <command> <args ...> DESCRIPTION
timeout starts the command with its args. If command is still running after duration, it is killed. By default, SIGTERM. is sent. --preserve-status Always exits with the same status as command even if it times out. --foreground Do not propagate timeout to the command children. -s sig, --signal sig Specify the signal to send on timeout. By default, SIGTERM. is sent. -k time, --kill-after time Send a second kill signal if command is still running after time after the first signal was sent. DURATION FORMAT
duration and time can be integer or decimal numbers. Values without unit symbols are interpreted as seconds. Supported unit symbols are: s seconds m minutes h hours d days EXIT STATUS
If the timeout was not reached, the exit status of command is returned. If the timeout was reached and --preserve-status is set, the exit status of command is returned. If --preserve-status is not set, an exit status of 124 is returned. If command exits after receiving a signal, the exit status returned is the signal number plus 128. If command is an invalid command, the exit status returned is 126. If command is a non existing command, the exit status returned is 127. If an invalid parameter is passed to -s or -k, the exit status return is 125. SEE ALSO
kill(1), signal(3) BSD
Oct 28, 2014 BSD
All times are GMT -4. The time now is 01:12 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy