logo

oasis-root

Compiled tree of Oasis Linux based on own branch at <https://hacktivis.me/git/oasis/> git clone https://anongit.hacktivis.me/git/oasis-root.git
commit: b5e21b6d8d2263e54f05150b5bf58ae1b2072b59
parent 434e2601724bb5bcbc5d73850621c87a8423ab32
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Sun,  8 Sep 2024 10:32:16 +0200

oasis c1c13660e2

Diffstat:

Mbin/chmod0
Mbin/chown0
Mbin/expr0
Mbin/mkdir0
Mbin/mkfifo0
Mbin/mknod0
Mbin/mv0
Mbin/nice0
Mbin/pathchk0
Mbin/realpath0
Mbin/renice0
Mbin/rm0
Mbin/rmdir0
Mbin/split0
Mbin/strings0
Mbin/time0
Mbin/truncate0
Mshare/man/man1/nice.13+++
Mshare/man/man1/renice.170++++++++++++++++++++++++++++++++++++++++++----------------------------
19 files changed, 45 insertions(+), 28 deletions(-)

diff --git a/bin/chmod b/bin/chmod Binary files differ. diff --git a/bin/chown b/bin/chown Binary files differ. diff --git a/bin/expr b/bin/expr Binary files differ. diff --git a/bin/mkdir b/bin/mkdir Binary files differ. diff --git a/bin/mkfifo b/bin/mkfifo Binary files differ. diff --git a/bin/mknod b/bin/mknod Binary files differ. diff --git a/bin/mv b/bin/mv Binary files differ. diff --git a/bin/nice b/bin/nice Binary files differ. diff --git a/bin/pathchk b/bin/pathchk Binary files differ. diff --git a/bin/realpath b/bin/realpath Binary files differ. diff --git a/bin/renice b/bin/renice Binary files differ. diff --git a/bin/rm b/bin/rm Binary files differ. diff --git a/bin/rmdir b/bin/rmdir Binary files differ. diff --git a/bin/split b/bin/split Binary files differ. diff --git a/bin/strings b/bin/strings Binary files differ. diff --git a/bin/time b/bin/time Binary files differ. diff --git a/bin/truncate b/bin/truncate Binary files differ. diff --git a/share/man/man1/nice.1 b/share/man/man1/nice.1 @@ -48,6 +48,9 @@ was found but couldn't be invoked. .Ar command wasn't found. .El +.Sh SEE ALSO +.Xr renice 1 , +.Xr nice 3 .Sh STANDARDS .Nm should be compliant with the diff --git a/share/man/man1/renice.1 b/share/man/man1/renice.1 @@ -1,42 +1,56 @@ -.Dd 2015-10-08 +.\" utils-std: Collection of commonly available Unix tools +.\" Copyright 2017 Haelwenn (lanodan) Monnier <contact+utils@hacktivis.me> +.\" SPDX-License-Identifier: MPL-2.0 +.Dd 2024-09-08 .Dt RENICE 1 -.Os sbase +.Os .Sh NAME .Nm renice -.Nd change niceness of processes +.Nd modify scheduling priority of running processes .Sh SYNOPSIS .Nm -.Fl n Ar num -.Op Fl g | Fl p | Fl u -.Ar id ... +.Op Fl p +.Fl n Ar adj +.Ar PID... +.Nm +.Fl g +.Fl n Ar adj +.Ar PGID... +.Nm +.Fl u +.Fl n Ar adj +.Ar UID... .Sh DESCRIPTION .Nm -changes the niceness of each process with the given -.Ar id . -Only the superuser can lower the niceness. +modifies the scheduling priority of running processes. .Sh OPTIONS .Bl -tag -width Ds -.It Fl g | Fl p | Fl u -Interpret each -.Ar id -as a process group ID | process ID | user name or ID. -The middle option is default. -.It Fl n Ar num -Change niceness by -.Ar num , -with niceness ranging from -.Sy -20 -(highest priority) -to -.Sy +20 -(lowest priority). +.It Fl g +Adjust all processes of each given process groups IDs +.Pq Ar PGID . +.It Fl n Ar adj +Positive or negative integer used to adjust the scheduling priority +of the process relative to it's current priority. +Negative +.Ar adj +may require appropriate privileges. +.It Fl p +Adjust each given process IDs +.Pq Ar PID . +(default) +.It Fl u +Adjust all processes of each given user IDs +.Pq Ar UID . .El +.Sh EXIT STATUS +.Ex -std .Sh SEE ALSO -.Xr nice 2 , -.Xr renice 2 +.Xr nice 1 , +.Xr setpriority 3 .Sh STANDARDS -The .Nm -utility is compliant with the -.St -p1003.1-2013 +should be compliant with the +IEEE Std 1003.1-2024 (“POSIX.1”) specification. +.Sh AUTHORS +.An Haelwenn (lanodan) Monnier Aq Mt contact+utils@hacktivis.me