1timeout(1)                         Netatalk                         timeout(1)
2
3
4

NAME

6       timeout - Send a signal to a program after a certain time
7

SYNTAX

9       timeout [-s signal] seconds program [args]
10

DESCRIPTION

12       timeout  executes a program (with arguments args) and sends a signal to
13       it after a certain amount of seconds.
14

OPTIONS

16       -s signal
17              Signal to send to the spawned process. This can be  a  numerical
18              or symbolic ID. This defaults to TERM.
19

EXAMPLES

21       timeout 10 pap foo.ps
22              Execute  "pap  foo.ps"  and send a SIGTERM if pap doesn't return
23              after 10 seconds.
24
25       timeout -s HUP 60 sh
26              Spawn a shell and send a hangup signal after one minute.
27
28       timeout -s 9 10 evilprog
29              Execute a program and KILL it if it doesn't quit after  10  sec‐
30              onds.
31
32
33
34
352.0.3                             19 Jul 2001                       timeout(1)
Impressum