1 .TH timeout 1 "19 Jul 2001" 2.0.0 Netatalk
3 timeout \- Send a signal to a program after a certain time
5 timeout [\-s \fIsignal\fR] \fIseconds\fR \fIprogram\fR [\fIargs\fR]
7 \fItimeout\fR executes a \fIprogram\fR (with arguments \fIargs\fR)
8 and sends a \fIsignal\fR to it after a certain
9 amount of \fIseconds\fR.
12 \fB\-s\fR \fIsignal\fR
13 Signal to send to the spawned process. This can be a numerical
14 or symbolic ID. This defaults to \fBTERM\fR.
18 Execute "pap foo.ps" and send a SIGTERM
19 if \fIpap\fR doesn't return after 10
23 Spawn a shell and send a hangup signal after one minute.
25 timeout \-s 9 10 evilprog
26 Execute a program and \fIKILL\fR it
27 if it doesn't quit after 10 seconds.