summaryrefslogtreecommitdiffstats
path: root/schedutils/chrt.1
Commit message (Collapse)AuthorAgeFilesLines
* 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