summaryrefslogtreecommitdiffstats
path: root/schedutils/chrt.1
Commit message (Collapse)AuthorAgeFilesLines
* man: Use the correct macro for a font change of one argumentBjarni Ingi Gislason2018-05-231-4/+4
| | | | | | | | Use the correct macro (I, B) for the font change of one argument, not those that are used for alternating two fonts, like "BR", "IR", "RB", or "RI". Signed-off-by: Bjarni Ingi Gislason <bjarniig@rhi.hi.is>
* 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>
* Place SEE ALSO entries in orderMichael Kerrisk (man-pages)2016-11-291-1/+1
| | | | | | | | | | | | This patch does only the following: * Order SEE ALSO entries first by section name, then alphabetically within section * Adds one or two missing commas in SEE ALSO lists * Removes one or two periods that were (inconsistently) used at the end of SEE ALSO lists. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* chrt: remove duplicate words and tweak some phrasings in the man pageBenno Schulenberg2016-03-171-16/+16
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* chrt: make man page more structuredKarel Zak2016-01-201-70/+59Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* chrt: add support for SCHED_DEADLINEKarel Zak2016-01-201-1/+27
| | | | | | | | | | | | | | This patch introduces -d, --deadline -T, --sched-runtime -D, --sched-deadline -P, --sched-period command line options. The functionality is available only for Linux with sched_setattr() [kernel >=3.14] Signed-off-by: Karel Zak <kzak@redhat.com>
* chrt: add note about zero priority for IDLE and BATCHKarel Zak2015-01-261-2/+2
| | | | | Reported-by: dE <de.techno@gmail.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: remove obsolete and unneeded comments from man-page filesBenno Schulenberg2015-01-121-3/+0Star
| | | | | | | 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: bring the chrt and taskset man pages closer to standard formattingBenno Schulenberg2014-08-201-42/+41Star
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: make the man-page licenses of chrt and taskset match their intentBenno Schulenberg2014-08-201-3/+2Star
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* docs: standardize the phrases for --help and --version in all man pagesBenno Schulenberg2013-10-151-1/+1
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* chrt: make command syntax easier to understand in usage()Sami Kerola2013-04-051-3/+8
| | | | | | | | And mention in manual that the default is referring to the internal default of this command, not the Linux system default. Manual page example also tries to be a little more complete how to use the command. Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: corrections to FSF license files, and postal addressSami Kerola2012-02-241-4/+3Star
| | | | | | | | | | | | | | The COPYING and Documentation/licenses/COPYING* files are being replaced by files from GNU web site. http://www.gnu.org/licenses/gpl-2.0.txt http://www.gnu.org/licenses/lgpl-2.1.txt Postal addresses to FSF in other files are updated to match with the address in license files. Reference: http://lists.gnu.org/archive/html/freefont-announce/2005-04/msg00001.html Signed-off-by: Sami Kerola <kerolasa@iki.fi>
* docs: uniformize the header and footer lines in man pagesBenno Schulenberg2011-08-221-3/+3
| | | | | | | | | | 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>
* chrt: adjust style of man page, alphabetize option -pBenno Schulenberg2011-08-081-28/+32
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* chrt.1: fix grammarDavidlohr Bueso2011-05-101-1/+1
| | | | | | Corrent the English grammar for the new -a option. Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* chrt: allow to use --all-tasks when retrieve infoKarel Zak2011-05-051-1/+2
| | | | | | | | | | master thread: $ chrt --pid $(pidof firefox) all threads: $ chrt --all-tasks --pid $(pidof firefox) Signed-off-by: Karel Zak <kzak@redhat.com>
* chrt: make threads awareDavidlohr Bueso2011-05-051-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | Currently this program works only with the master thread. Add a '-t' option to propagate changes to the entire group of threads. Example: root@offworld:~/projects/util-linux/schedutils# ls /proc/2111/task/ 2111 2112 2119 2121 2138 2139 2159 2160 root@offworld:~/projects/util-linux/schedutils# ./chrt -p 2111 pid 2111's current scheduling policy: SCHED_RR pid 2111's current scheduling priority: 3 root@offworld:~/projects/util-linux/schedutils# ./chrt -t -p 2 2111 root@offworld:~/projects/util-linux/schedutils# ./chrt -p 2112 pid 2112's current scheduling policy: SCHED_RR pid 2112's current scheduling priority: 2 root@offworld:~/projects/util-linux/schedutils# ./chrt -p 2111 pid 2111's current scheduling policy: SCHED_RR pid 2111's current scheduling priority: 2 [kzak@redhat.com: - rename -t/--thread to -a/--all-tasks] Signed-off-by: Davidlohr Bueso <dave@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* schedutils: fix typosDavidlohr Bueso2011-01-171-1/+1
| | | | Signed-off-by: Davidlohr Bueso <dave@gnu.org>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* chrt: add --verbose to man page, correct -V for --version, alphabetizeBenno Schulenberg2010-06-151-13/+16
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* chrt: add --reset-on-forkKarel Zak2010-02-021-0/+14
| | | | | | | | | | | | | | | This new option allows to set SCHED_RESET_ON_FORK flag for FIFO and RR policies. Example: $ chrt --fifo --reset-on-fork 1 /bin/bash $ schedutils/chrt --pid $$ pid 31579's current scheduling policy: SCHED_FIFO|SCHED_RESET_ON_FORK pid 31579's current scheduling priority: 1 Signed-off-by: Karel Zak <kzak@redhat.com>
* chrt: don't assume SCHED_BATCH and SCHED_IDLE existAurelien Jarno2009-05-071-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | SCHED_FIFO, SCHED_OTHER, SCHED_RR are part of POSIX 1003.1b Process Scheduling, so it is correct to assume they always exists. SCHED_BATCH and SCHED_IDLE are Linux specific, we should not assume they exists. Defining SCHED_BATCH and SCHED_IDLE to random values (ie the ones found on Linux systems) is not an option as they may *collide* with the one of other systems. For example on GNU/kFreeBSD we have: #define SCHED_RR 3 and on Linux we have: #define SCHED_BATCH 3 [kzak@redhat.com: - add "Linux specific" notes to chrt.1 - add a note about BATCH and PR conflict to this commit message] Signed-off-by: Aurelien Jarno <aurelien@aurel32.net> Signed-off-by: Karel Zak <kzak@redhat.com>
* chrt: add a comment about non POSIX 1003.1b attributes in chrt.1Aurelien Jarno2009-04-231-0/+8
| | | | | | | Mention that only SCHED_FIFO, SCHED_OTHER and SCHED_RR are part of POSIX 1003.1b Process Scheduling in chrt.1. Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>
* chrt: support CFS SCHED_IDLE priority and document itMartin Steigerwald2008-09-231-2/+9
| | | | | Signed-off-by: Martin Steigerwald <ms@teamix.de> Signed-off-by: Karel Zak <kzak@redhat.com>
* man-pages: cleanup of chrt.1 and taskset.1LaMont Jones2007-08-151-1/+7
| | | | | Signed-off-by: LaMont Jones <lamont@mmjgroup.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* schedutils: fix chrt docs and pid=0 usageMatthias Koenig2007-07-161-3/+3
| | | | | | | Fix some documentation bugs for chrt. Make it work with PID 0, which means current process. Signed-off-by: Matthias Koenig <mkoenig@suse.de>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-2/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* schedutils: define SCHED_BATCH when compile with old glibcKarel Zak2007-04-111-2/+4
| | | | | | | | This is temporary workaround and it will be removed in 2.14 when minimal number of people will use old systems where is not defined SCHED_BATCH in (bits/)sched.h. Signed-off-by: Karel Zak <kzak@redhat.com>
* schedutils: add support for SCHED_BATCHKarel Zak2007-01-161-1/+6
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* schedutils: remove extra hyptens from man pagesKarel Zak2007-01-161-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* Imported from util-linux-2.13-pre1 tarball.Karel Zak2006-12-071-0/+103