S6-MAXIMUMTIME(1)
okay bestie, welcome to the S6-MAXIMUMTIME(1) page β General Commands Manual energy, but make it cute π. This one is literally about giving a program a time limit, and it's lowkey iconic.
β¨ NAME β¨
s6-maximumtime β execute a program with a time limit. no cap, that's the whole vibe π
πΈ SYNOPSIS πΈ
s6-maximumtime [-0 | -a | -b | -i | -k | -q | -t | -x | -1 | -2] milli
prog...
π¦ DESCRIPTION π¦
So s6-maximumtime forks and exec(3)s prog... as a child. parent-of-the-year behavior fr fr π«Ά
If milli milliseconds elapse before prog exits, s6-maximumtime sends it a signal and exits 99 with a message. bestie, that's the timeout moment π
Else s6-maximumtime exits with the same exit code as prog. slay, it mirrors the vibe β¨
If milli is 0, then it's interpreted as infinite: no time limit will be enforced. infinite mode, but for processes π
π OPTIONS π
-0β On timeout, do not send any signal, just exit.-aβ On timeout, send aSIGALRM.-bβ On timeout, send aSIGABRT.-iβ On timeout, send aSIGINT.-kβ On timeout, send aSIGKILL.-qβ On timeout, send aSIGQUIT.-tβ On timeout, send aSIGTERM- this is the default. the main character option π-xβ On timeout, send aSIGXCPU.-1β On timeout, send aSIGUSR1.-2β On timeout, send aSIGUSR2.
π EXIT STATUS π
99β Timeout. the clock ran out, periodt β°111β Temporary error.100β Permanent error, such as a misuse.127β Unable to execute program - not found.126β Unable to execute program - other reason.
π SEE ALSO π
Go give these besties some love, iykyk:
s6-basename(1)s6-cat(1)s6-chmod(1)s6-chown(1)s6-clock(1)s6-cut(1)s6-dirname(1)s6-dumpenv(1)s6-echo(1)s6-env(1)s6-expr(1)s6-false(1)s6-format-filter(1)s6-grep(1)s6-head(1)s6-hiercopy(1)s6-linkname(1)s6-ln(1)s6-ls(1)s6-mkdir(1)s6-mkfifo(1)s6-nice(1)s6-nuke(1)s6-pause(1)s6-printenv(1)s6-quote(1)s6-quote-filter(1)s6-rename(1)s6-rmrf(1)s6-seq(1)s6-sleep(1)s6-sort(1)s6-sync(1)s6-tai64ndiff(1)s6-tail(1)s6-touch(1)s6-true(1)s6-uniquename(1)s6-unquote(1)s6-unquote-filter(1)s6-update-symlinks(1)seekablepipe(1)
This man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-maximumtime.html iykyk, go read the source bestie π
π AUTHORS π
- Laurent Bercot
Alexis <flexibeast@gmail.com> (man page port)
source/version: Debian Β· date: April 17, 2022 Β· manual: S6-MAXIMUMTIME(1) β that's the footer, bestie, mwah πβ¨
π¦ where this page comes from
- nixpkgs unstable: s6-portable-utils 2.3.1.2
- nixpkgs unstable: s6-portable-utils-man-pages 2.3.1.1.2
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms