version 1.2, 2021/09/02 21:50:24 |
version 1.3, 2021/09/04 11:58:31 |
|
|
The options are as follows: |
The options are as follows: |
.Bl -tag -width Ds |
.Bl -tag -width Ds |
.It Fl k Ar time , Fl -kill-after Ns = Ns Ar time |
.It Fl k Ar time , Fl -kill-after Ns = Ns Ar time |
Send a second kill signal if the command is still running |
Send a second signal, |
|
.Dv SIGKILL , |
|
if the command is still running |
.Ar time |
.Ar time |
after the first signal was sent. |
after the first signal was sent. |
.It Fl s Ar sig , Fl -signal Ns = Ns Ar sig |
.It Fl s Ar sig , Fl -signal Ns = Ns Ar sig |
|
|
days |
days |
.El |
.El |
.Sh EXIT STATUS |
.Sh EXIT STATUS |
If the timeout was not reached, the exit status of |
If the timeout was not reached or |
|
.Fl -preserve-status |
|
was set, the exit status of |
.Ar command |
.Ar command |
is returned. |
is returned. |
.Pp |
.Pp |
If the timeout was reached and |
If the timeout was reached and |
.Fl -preserve-status |
.Fl -preserve-status |
was set, the exit status of |
|
.Ar command |
|
is returned. |
|
If |
|
.Fl -preserve-status |
|
was not set, an exit status of 124 is returned. |
was not set, an exit status of 124 is returned. |
.Pp |
.Pp |
If |
If |
|
|
.Xr kill 1 , |
.Xr kill 1 , |
.Xr signal 3 |
.Xr signal 3 |
.Sh HISTORY |
.Sh HISTORY |
A |
|
.Nm |
|
utility appeared in a development branch of |
|
.Fx 11 |
|
and was imported into |
|
.Nx 7 . |
|
The |
The |
.Fx |
|
work is compatible with GNU |
|
.Nm |
.Nm |
by |
utility first appeared in GNU Coreutils 7.0 and has been available since |
.An Padraig Brady , |
.Ox 7.0 . |
from GNU Coreutils 8.21. |
|
The |
|
.Nm |
|
utility first appeared in GNU Coreutils 7.0. |
|