summaryrefslogtreecommitdiffstats
path: root/schedutils/taskset.1
Commit message (Collapse)AuthorAgeFilesLines
* tastset: (man) add :N stride for CPU listsKarel Zak2019-03-291-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* man: Use the correct macro for a font change of one argumentBjarni Ingi Gislason2018-05-231-7/+7
| | | | | | | | 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>
* docs: taskset(1): Wording fixMichael Kerrisk2016-12-091-1/+1
| | | | Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* Fix reference for scheduling discussionMichael Kerrisk (man-pages)2016-11-291-1/+1
| | | | | | | | Some time back, I moved the discussion of scheduling from sched_setscheduler(2) to a new sched(7) page. Adjust the cross reference in the taskset(1) page accordingly. Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
* Place SEE ALSO entries in orderMichael Kerrisk (man-pages)2016-11-291-2/+2
| | | | | | | | | | | | 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>
* taskset: clarify that masks are always hex in man pageChris Metcalf2016-08-091-2/+11
| | | | | | | | | | | The man page confusingly says that the mask is "typically" hexadecimal, when in fact it is always hexadecimal. Fix the language, and provide an additional example with no leading "0x". Also, provide an example using the --cpu-list option. Signed-off-by: Chris Metcalf <cmetcalf@mellanox.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* taskset: fix description of `-c` option in the man pageYuriy M. Kaminskiy2016-03-071-3/+3
| | | | | | | | | | | | | Commit 42f15e9848dc07e86a2b80c742a0179aaced6c71 introduced a certain inaccuracy in -c option description; it is not _the option with an argument_, but it is the flag that changes interpretation of `mask` parameter. The difference is almost not noticeable, but there are one corner case where it is: taskset -c 1 -p $$ fails (but it would work if 42f15e was correct). Instead, taskset -c -p 1 $$ works (but it should not have if 42f15e was correct). Signed-off-by: Karel Zak <kzak@redhat.com>
* docs: restore minus symbols in long optsJ William Piggott2015-01-211-2/+2
| | | | Signed-off-by: J William Piggott <elseifthen@gmx.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-25/+27
| | | | 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>
* taskset: fix PERMISSIONS section of taskset man pageRik van Riel2013-12-101-2/+3
| | | | | | | | | A user is always allowed to change the CPU affinity of his or her own processes. CAP_SYS_NICE is only required to change the affinity of another user's process. Signed-off-by: Rik van Riel <riel@redhat.com> Reported-by: Joe Mario <jmario@redhat.com>
* 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>
* 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-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>
* taskset: adjust style of man pageBenno Schulenberg2011-08-081-7/+7
| | | | Signed-off-by: Benno Schulenberg <bensberg@justemail.net>
* taskset: make threads awareDavidlohr Bueso2011-05-111-0/+3
| | | | | | | | | | | | | | | | | | | | | | | Add a new '-a' option to view/modify the CPU affinity for an entire group of threads belonging to a given PID. We create two new functions, print_affinity() and do_taskset() for code simplification. Example: zeus@jilguero:~/src/util-linux/schedutils$ ./taskset -a -p 01 3142 pid 3142's current affinity mask: 2 pid 3142's new affinity mask: 1 pid 3164's current affinity mask: 2 pid 3164's new affinity mask: 1 pid 854's current affinity mask: 2 pid 854's new affinity mask: 1 [kzak@redhat.com: - clean up - move variables to struct taskset] Signed-off-by: Davidlohr Bueso <dave@gnu.org> Tested-by: Jonathan Gonzalez <zeus@gnu.org> Signed-off-by: Karel Zak <kzak@redhat.com>
* rename util-linux-ng back to util-linuxKarel Zak2010-11-301-2/+2
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* man-pages: cleanup of chrt.1 and taskset.1LaMont Jones2007-08-151-11/+21
| | | | | Signed-off-by: LaMont Jones <lamont@mmjgroup.com> Signed-off-by: Karel Zak <kzak@redhat.com>
* man pages: add "AVAILABILITY" sectionKarel Zak2007-07-031-2/+3
| | | | 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/+115