summaryrefslogtreecommitdiffstats
path: root/sys-utils/renice.1
Commit message (Collapse)AuthorAgeFilesLines
* docs: replace FTP by HTTPS in kernel.org URLsSébastien Helleu2016-12-191-1/+1
| | | | | | | The links to ftp://ftp.kernel.org/ are replaced by https://www.kernel.org/. Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: renice(1): Add credentials(7) to SEE ALSOMichael Kerrisk2016-12-091-0/+1
| | | | | | credentials(7) explains concepts such as "process group". Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com>
* docs: renice(1): Add SEE ALSO entry for sched(7)Michael Kerrisk2016-12-091-1/+2
| | | | | | | | | The sched(7) page as of the most recent release contains detailed information on the 'nice' value, including a discussion of autogrouping, which has surprising interactions with the process nice value. Signed-off-by: <mtk.man-pages@gmail.com>
* docs: various pages: Format pathnames as italic (.I)Michael Kerrisk2016-12-091-1/+1
| | | | | | | | | In the majority of pages, pathnames are formatted as Italic, which is the norm. However, there are several cases where they are formatted as bold. This patch fixes a number of those exceptions. Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com>
* docs: renice(1): Remove obsolete BUGS textMichael Kerrisk2016-12-091-5/+0Star
| | | | | | | | | | | | | | | | | | | | Already at least as far back as util-linux 2.2, renice uses getpriority(2) to fetch the process's old nice value. Thus, the "problem" discussed in this BUGS note disappeared long ago. This is trivially demonstrable: $ sleep 100 & [1] 24322 $ renice -n 5 24322 24322 (process ID) old priority 0, new priority 5 $ renice -n 10 24322 24322 (process ID) old priority 5, new priority 10 Rather than trying to explain the ancient problem (20 years old?), just kill this text. Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: renice(1): Rework discussion of unprivileged users,Michael Kerrisk2016-12-091-7/+10
| | | | | | | | | | | | | | | | | | | | The BUGS section describing the limitations on what an unprivileged user may do to the nice value is outdated, given the kernel changes that added RLIMIT_NICE in Linux 2.6.12. So, remove that text. The revised details for modern Linux were partially covered in NOTES, but there were also inaccuracies there (and the use of the word "monotonically" was unneeded). In particular, the point is that unprivileged users can only increase the nice value. There is no restriction particular to the range 0..+19. So, for example, the following scenario is possible: 1. Superuser sets the nice value of an unprivileged user's process to -20. 2. The unprivileged user can now renice that process to (say) -10. Signed-off-by: Michael Kerrisk <mtk.man-pages@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: mention nice(1) in renice(1) manual pageSami Kerola2015-02-021-0/+1
| | | | | Addresses: https://bugs.debian.org/260984 Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: remove obsolete and unneeded comments from man-page filesBenno Schulenberg2015-01-121-1/+1
| | | | | | | Transform some of them into copyright lines. Also fix three header lines and snip some trailing whitespace. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: fix some things that were overlooked during the first passBenno Schulenberg2014-07-281-3/+3
| | | | | | | Mainly more option sorting, some formatting adjustments, and the adding of a missing --version here and there. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: bring five more man pages closer to standard formattingBenno Schulenberg2014-07-211-9/+9
| | | | | | | Also, for renice, adapt the descriptions to the behaviour: the -g, -p and -u options do not actually need to be followed by any ID. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* renice: correct max priority in renice man pagePhillip Susi2014-02-101-7/+3Star
| | | | | | | | | | | | The man page stated that the PRIO_MAX is 20. While this is correct, the header definition is wrong and the max value is actually 19. [kzak@redhat.com: - remove PRIO_MAX from man page, kernel syscalls use hardcoded numbers for the priority limits] Signed-off-by: Phillip Susi <psusi@ubuntu.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: standardize the phrases for --help and --version in all man pagesBenno Schulenberg2013-10-151-2/+2
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* textual: standardize the spelling of "superuser"Benno Schulenberg2013-06-071-3/+3
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* renice: accept also -V for --version, and document itBenno Schulenberg2013-01-251-36/+30Star
| | | | | | Also improve the man page. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: align renice.1 with howto-man-page.txtSami Kerola2011-10-031-104/+82Star
| | | | Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: also uniformize headers and footers of troff-formatted man pagesBenno Schulenberg2011-08-291-2/+2
| | | | | | | | | Add two spaces as the required third argument of the date line to make the specified date get used instead of today's date. Incorporate the section number into the page title, then use an empty section number, so that specifying an explicit section/volume name will work. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-2/+2
| | | | | | | | | | Use dates without the day, use the full month name, put "util-linux" in the lower left corner, and "User Commands" or "System Administration" at the top center. Also improve here and there the one-line program description. Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* renice: update man page (nice rlimit was added to kernel)Francesco Cosoleto2010-11-301-3/+3
| | | | | | | Non-root tasks can raise nice priority on systems running Linux 2.6.12 or higher if the nice resource limit is set. Signed-off-by: Francesco Cosoleto <cosoleto@gmail.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* renice.1: formattingPeter Breitenlohner2009-08-171-4/+4
| | | | Signed-off-by: Peter Breitenlohner <peb@mppmu.mpg.de>
* renice: add -n option for compatibility with POSIXKarel Zak2009-03-091-1/+6
| | | | | | The -n option is required by POSIX.1-200x. Signed-off-by: Karel Zak <kzak@redhat.com>
* renice: detect errors in arguments, add -v, -h and long optionsLaMont Jones2008-01-291-3/+9
| | | | | | | | | | | | | | | | | | * renice was using atoi(), which does no error detection, meaning that: "renice +20 blah" was accepted as valid. * add -h | --help * add -v | --version * add long options for -p, -u and -g * cleanup coding style Addresses-Debian-Bug: #385245 Co-Author: Karel Zak <kzak@redhat.com> Signed-off-by: LaMont Jones <lamont@debian.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* sys-utils: fix man page headersKarel Zak2007-05-161-1/+1
| | | | | | | The man pages have been moved from man8 to man1, but the headers still refer to man1. Signed-off-by: Karel Zak <kzak@redhat.com>
* sys-utils: move some man pages from category 8 to 1Karel Zak2007-04-251-0/+136
The dmesg, ipcrm, ipcs, renice and setsid are user-accessible commands and belong in man1 more than to man8. Signed-off-by: Karel Zak <kzak@redhat.com>