summaryrefslogtreecommitdiffstats
path: root/schedutils/ionice.1
diff options
context:
space:
mode:
authorStephan Maka2008-08-20 23:51:55 +0200
committerKarel Zak2008-09-05 16:18:14 +0200
commitef0fe2e8aa09bd29ac514c2a5386c98cdeeaa8ca (patch)
tree753e352b64ebad39f47508ab35c17831fab1a73f /schedutils/ionice.1
parentlogin: fix warning "dereferencing type-punned pointer will break strict-alias... (diff)
downloadkernel-qcow2-util-linux-ef0fe2e8aa09bd29ac514c2a5386c98cdeeaa8ca.tar.gz
kernel-qcow2-util-linux-ef0fe2e8aa09bd29ac514c2a5386c98cdeeaa8ca.tar.xz
kernel-qcow2-util-linux-ef0fe2e8aa09bd29ac514c2a5386c98cdeeaa8ca.zip
ionice: let -p handle multiple PIDs
Makes ionice -p usable like renice, this time backwards compatible [kzak@redhat.com: - fix coding style - add ioprio_setpid()] Signed-off-by: Stephan Maka <stephan@spaceboyz.net> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'schedutils/ionice.1')
-rw-r--r--schedutils/ionice.16
1 files changed, 3 insertions, 3 deletions
diff --git a/schedutils/ionice.1 b/schedutils/ionice.1
index a434572d5..67fbc1d04 100644
--- a/schedutils/ionice.1
+++ b/schedutils/ionice.1
@@ -41,7 +41,7 @@ The scheduling class data. This defines the class data, if the class
accepts an argument. For real time and best-effort, \fI0-7\fR is valid
data.
.IP "\fB-p \fIpid\fP"
-Pass in a process pid to change an already running process. If this argument
+Pass in process PIDs to view or change already running processes. If this argument
is not given, \fBionice\fP will run the listed program with the given
parameters.
.IP "\fB-t\fP"
@@ -60,9 +60,9 @@ Sets process with PID 89 as an idle io process.
.TP 7
Runs 'bash' as a best-effort program with highest priority.
.TP 7
-# \fBionice\fP -p 89
+# \fBionice\fP -p 89 91
.TP 7
-Returns the class and priority of the process with PID 89.
+Prints the class and priority of the processes with PID 89 and 91.
.SH NOTES
Linux supports io scheduling priorities and classes since 2.6.13 with the CFQ