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