summaryrefslogtreecommitdiffstats
path: root/schedutils/chrt.1
diff options
context:
space:
mode:
authorMatthias Koenig2007-07-16 13:10:59 +0200
committerKarel Zak2007-07-16 15:12:36 +0200
commit697d58e867d6c2a5746f495cb5cab24994ce808e (patch)
tree6f55d2f17f5e51d6cc57563dd96b3d0e3d5ea235 /schedutils/chrt.1
parentmount: add acl option documentation for ext3 and reiserfs (diff)
downloadkernel-qcow2-util-linux-697d58e867d6c2a5746f495cb5cab24994ce808e.tar.gz
kernel-qcow2-util-linux-697d58e867d6c2a5746f495cb5cab24994ce808e.tar.xz
kernel-qcow2-util-linux-697d58e867d6c2a5746f495cb5cab24994ce808e.zip
schedutils: fix chrt docs and pid=0 usage
Fix some documentation bugs for chrt. Make it work with PID 0, which means current process. Signed-off-by: Matthias Koenig <mkoenig@suse.de>
Diffstat (limited to 'schedutils/chrt.1')
-rw-r--r--schedutils/chrt.16
1 files changed, 3 insertions, 3 deletions
diff --git a/schedutils/chrt.1 b/schedutils/chrt.1
index effa19033..01f7650cf 100644
--- a/schedutils/chrt.1
+++ b/schedutils/chrt.1
@@ -79,13 +79,13 @@ output version information and exit
.SH USAGE
.TP
The default behavior is to run a new command::
-chrt [prio] [command] [arguments]
+chrt prio command [arguments]
.TP
You can also retrieve the real-time attributes of an existing task:
-chrt -p [pid]
+chrt -p pid
.TP
Or set them:
-chrt -p [prio] [pid]
+chrt -p prio pid
.SH PERMISSIONS
A user must possess
.BR CAP_SYS_NICE