c---class Verified current stable Not installed?

C Class / Set Io Scheduling Class Of Running Process

Set Io Scheduling Class Of Running Process

C Class command syntax to set io scheduling class of running process. Copyable examples, output expectations, and common mistakes.

$
Terminal
ionice -c <scheduling_class> -<p|P|u> <id>

Command Breakdown

What each part is doing

ionice
Base Command
The executable that performs this operation. Here it runs C Class before the shell applies any redirect operators.
-c
c| class
The value supplied for c| class.
<scheduling_class>
scheduling class
The value supplied for scheduling class.
<p|P|u>
p|P|u
The value supplied for p|P|u.
<id>
id
The value supplied for id.
-c
Command Option
Tool-specific option used by this command invocation.
-<p|P|u>
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools for a closely related operation.