timeout

Autres langues

Langue: en

Version: 256849 (debian - 07/07/09)

Section: 1 (Commandes utilisateur)

NAME

timeout - run command with bounded time

SYNOPSIS

 timeout [-signal] time command ...
 
 

DESCRIPTION

timeout executes a command and imposes an elapsed time limit. The command is run in a separate POSIX process group so that the right thing happens with commands that spawn child processes.

Arguments:

-signal
Specify an optional signal to send to the controlled process. By default, timeout sends SIGKILL, which cannot be caught or ignored. The signal must be provided in its numerical value.
time
The elapsed time limit in seconds after which the command is terminated.
command
The command to be executed.

DIAGNOSTICS

timeout's exit status is the exit status of the specified command or 1 in case of a usage error.

LICENSE

 The IBM PUBLIC LICENSE must be distributed with this
 software.
 
 

HISTORY

 This program was first released as part of SATAN.
 
 

AUTHOR(S)

 Wietse Venema