summaryrefslogtreecommitdiffstats
path: root/schedutils
diff options
context:
space:
mode:
authorKarel Zak2007-09-20 14:33:31 +0200
committerKarel Zak2007-09-20 14:33:31 +0200
commitcd66291bde4db0862d3988abb98862cf2216cca3 (patch)
tree6ef521df72f1f4fc7cde4a6395086dfb50d6bafd /schedutils
parenthwclock: fix --rtc option (diff)
downloadkernel-qcow2-util-linux-cd66291bde4db0862d3988abb98862cf2216cca3.tar.gz
kernel-qcow2-util-linux-cd66291bde4db0862d3988abb98862cf2216cca3.tar.xz
kernel-qcow2-util-linux-cd66291bde4db0862d3988abb98862cf2216cca3.zip
ionice: add a note about permissions to ionice.1
Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils')
-rw-r--r--schedutils/ionice.16
1 files changed, 4 insertions, 2 deletions
diff --git a/schedutils/ionice.1 b/schedutils/ionice.1
index 4697ff178..8203a5eb4 100644
--- a/schedutils/ionice.1
+++ b/schedutils/ionice.1
@@ -13,7 +13,8 @@ this writing, Linux supports 3 scheduling classes:
A program running with idle io priority will only get disk time when no other
program has asked for disk io for a defined grace period. The impact of idle
io processes on normal system activity should be zero. This scheduling
-class does not take a priority argument.
+class does not take a priority argument. This scheduling class is not
+permitted for an ordinary (i.e., non-root) user.
\fBBest effort\fR.
This is the default scheduling class for any process that hasn't asked for
@@ -27,7 +28,8 @@ The RT scheduling class is given first access to the disk, regardless of
what else is going on in the system. Thus the RT class needs to be used with
some care, as it can starve other processes. As with the best effort class,
8 priority levels are defined denoting how big a time slice a given process
-will receive on each scheduling window.
+will receive on each scheduling window. This scheduling class is not
+permitted for an ordinary (i.e., non-root) user.
If no arguments or just \fI-p\fR is given, \fIionice\fR will query the
current io scheduling class and priority for that process.