Seth Woolley's Man Viewer

Manual for timeout - man timeout

([section] manual, -k keyword, -K [section] search, -f whatis)
man plain no title

timeout(1,3x,3x cbreak)(1)                         Netatalk                         timeout(1,3x,3x cbreak)(1)



NAME
       timeout(1,3x,3x cbreak) - Send a signal(2,7) to a program after a certain time(1,2,n)

SYNTAX
       timeout(1,3x,3x cbreak) [-s signal(2,7)] seconds program [args]

DESCRIPTION
       timeout(1,3x,3x cbreak)  executes a program (with arguments args) and sends a signal(2,7) to
       it after a certain amount of seconds.

OPTIONS
       -s signal(2,7)
              Signal to send(2,n) to the spawned process. This can be  a  numerical
              or symbolic ID. This defaults to TERM.

EXAMPLES
       timeout(1,3x,3x cbreak) 10 pap foo.ps
              Execute  "pap  foo.ps"  and send(2,n) a SIGTERM if(3,n) pap doesn't return
              after 10 seconds.

       timeout(1,3x,3x cbreak) -s HUP 60 sh
              Spawn a shell and send(2,n) a hangup signal(2,7) after one minute.

       timeout(1,3x,3x cbreak) -s 9 10 evilprog
              Execute a program and KILL it if(3,n) it doesn't quit after  10  sec-
              onds.




2.0.3                             19 Jul 2001                       timeout(1,3x,3x cbreak)(1)

References for this manual (incoming links)