]> git.ipfire.org Git - thirdparty/util-linux.git/commit
ionice: improve command line interpretation
authorKarel Zak <kzak@redhat.com>
Fri, 22 Jul 2011 09:15:28 +0000 (11:15 +0200)
committerKarel Zak <kzak@redhat.com>
Fri, 22 Jul 2011 09:24:05 +0000 (11:24 +0200)
commitfcc2b2da4ca5efcc82d31b11cdb9b16f90cd31c3
tree03df24df781ecf570f31944873bcd51459c1f545
parent270e66eca4a3c5b44d1d86619e36a6e76cede9c8
ionice: improve command line interpretation

 ionice                       : print the current I/O prio.
 ionice COMMAND               : exec command with default (best-effort) class
 ionice -p PID [...]          : return info about the PID(s)
 ionice -c CLASS COMMAND      : exec command with the class
 ionice -c CLASS -p PID [...] : modify PID(s) class

This should be backwardly compatible and also compatible with nice(1)
from coreutils.

Signed-off-by: Karel Zak <kzak@redhat.com>
schedutils/ionice.1
schedutils/ionice.c