ionice Command Examples

Get or set program I/O scheduling class and priority. Scheduling classes: 1 (realtime), 2 (best-effort), 3 (idle). Priority levels: 0 (the highest) - 7 (the lowest). More information: https://manned.org/ionice.

ionice -c {{scheduling_class}} -n {{priority}} {{command}}

ionice -c {{scheduling_class}} -{{p|P|u}} {{id}}

ionice -c {{scheduling_class}} -n {{priority}} {{command}}

ionice -t -n {{priority}} -p {{pid}}

ionice -t -n {{priority}} -p {{pid}}

ionice -p {{pid}}