S6-NICE(1)

πŸ“¦ version 2.3.1.2, in nixpkgs unstable

πŸ’… S6-NICE(1) πŸ’…

okay so bestie, you know how sometimes you need a program to run at a different priority level? like, politely-not-that-important energy? that's literally this whole page. it's s6-nice from the s6 suite of portable utilities β€” we're in the general commands manual, section 1, and this is gonna be so good i promise 🫢


✨ NAME ✨

s6-nice β€” execute into a program with an altered nice value. yep, that's the whole vibe: it swaps itself out for prog... but with the niceness turned up (or down, no judgment) 🌸


πŸŽ€ SYNOPSIS πŸŽ€

s6-nice [-I | -i] [-n value] prog...

πŸ¦‹ DESCRIPTION πŸ¦‹

s6-nice acts as the generic nice[1] utility. that's it. that's the whole description. it's giving "i have one job and i do it flawlessly" ✨


πŸ’… OPTIONS πŸ’…

🌈 Standard options 🌈

  • -n increment β€” change the nice value by increment. and ngl the increment can be positive or negative, so you're not locked into being nice, you can be un-nice too. no cap.

πŸ“ Non-standard options πŸ“

  • -I β€” Loose mode. if the nice value cannot be set to value, it prints a warning message and exec(3)s into prog... anyway. this is the default btw, so you're already living your loose life if you don't say anything. iconic.
  • -i β€” Strict mode. if the nice value cannot be set to value, it exits with status 111 and an error message. no warning-and-carry-on for you, bestie. it's giving boundaries.

πŸ‘‘ EXIT STATUS πŸ‘‘

  • 111 β€” temporary error.
  • 100 β€” permanent error, such as a misuse. (read: you did something silly πŸ™ˆ)
  • 127 β€” unable to execute program β€” not found. it's not there. gone. missing.
  • 126 β€” unable to execute program β€” other reason.

πŸ”₯ SEE ALSO πŸ”₯

the whole s6 portable-utils family reunion, fr fr:

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-maximumtime(1), s6-mkdir(1), s6-mkfifo(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)

[1] https://pubs.opengroup.org/onlinepubs/9799919799/utilities/nice.html

this man page is ported from the authoritative documentation at: https://skarnet.org/software/s6-portable-utils/s6-nice.html β€” go read the source if you want the raw lore πŸ’œ


⭐ STANDARDS ⭐

s6-nice is suitable as a nice[1] program conforming to . (yes, the spec reference is literally just blank there in the original too β€” we're not gonna pretend otherwise πŸ’€)


πŸ’– AUTHORS πŸ’–

  • Laurent Bercot
  • Alexis <flexibeast@gmail.com> (man page port)

and that's the page!! slay πŸ’…βœ¨

sign-off time: this beauty comes from Debian, dated April 18, 2022, and it's page S6-NICE(1) in the manual. drink some water, set your nice values responsibly, and go be the main character of your own process table πŸ§šπŸ’œ

πŸ“¦ where this page comes from