Re: update ionice manpage (ioprio_set: Operation not permitted)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Sep 16, 2007 at 09:38:41PM +0200, Franklin PIAT wrote:
> Could you update the ionice manpage (or release notes)
> to mention that regular user can't schedule a task with
> an "idle" class. A typical example is:

 Well, see a patch below. OK?

    Karel

commit cd66291bde4db0862d3988abb98862cf2216cca3
Author: Karel Zak <kzak@xxxxxxxxxx>
Date:   Thu Sep 20 14:33:31 2007 +0200

    ionice: add a note about permissions to ionice.1
    
    Signed-off-by: Karel Zak <kzak@xxxxxxxxxx>

diff --git a/schedutils/ionice.1 b/schedutils/ionice.1
index 4697ff1..8203a5e 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.


-- 
 Karel Zak  <kzak@xxxxxxxxxx>
-
To unsubscribe from this list: send the line "unsubscribe util-linux-ng" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux