Lines Matching +full:timeout +full:- +full:minutes
1 .\" SPDX-License-Identifier: BSD-2-Clause
31 .Nm timeout
35 .Op Fl k Ar time | Fl -kill-after Ar time
36 .Op Fl s Ar sig | Fl -signal Ar sig
37 .Op Fl v | Fl -verbose
38 .Op Fl -foreground
39 .Op Fl -preserve-status
65 .Bl -tag -width indent
66 .It Fl k Ar time , Fl -kill-after Ar time
74 .It Fl s Ar sig , Fl -signal Ar sig
75 Specify the signal to send on timeout.
79 .It Fl v , Fl -verbose
80 Show information to stderr about any signal sent on timeout.
81 .It Fl -foreground
82 Do not propagate timeout to the children of
84 .It Fl -preserve-status
94 are non-negative integer or real (decimal) numbers, with an optional
95 unit-specifying suffix.
99 .Bl -tag -offset indent -width indent -compact
103 minutes
110 If the timeout was not reached, the exit status of
114 If the timeout was reached and
115 .Fl -preserve-status
120 .Fl -preserve-status
135 refers to a non-existing program, the exit status returned is 127.
146 .Bd -literal -offset indent
147 $ timeout 4 sleep 2
156 .Fl -preserve-status
158 .Bd -literal -offset indent
159 $ timeout 2 sleep 4
167 .Bd -literal -offset indent
168 $ timeout --preserve-status 2 sleep 4
177 .Bd -literal -offset indent
178 $ timeout --preserve-status -s SIGALRM 2 sleep 4
193 .Bd -literal -offset indent
194 $ timeout -k 5s 1m fetch \\
206 .St -p1003.1-2024