tkill -- kill a process if it has been running for too long
tkill [-Phl] [-t timeout] [-s signal] (pid ... | -C cmd | -c cmd)
The tkill utility kills a given process or process group if it has been running for longer than the specified time.
The following options are supported:
The following examples illustrate common usage of this tool.
To kill the processes with the process IDs 1234 1235 and 1236 if they have been running for longer than 500 seconds:
tkill 1234 1235 1236
To kill all the children of process ID 1234 if they have been running for longer than one hour:
tkill -t 3600 -P 1234
kill(1)
The tkill utility was originally written by Jan Schaumann <jschauma@yahoo-inc.com> in July 2007.
Please submit bug reports and feature requests to the author.