c---class Verified current stable Not installed?

C Class / Run Command With Custom Io Scheduling Class And Priority

Run Command With Custom Io Scheduling Class And Priority

C Class command syntax to run command with custom io scheduling class and priority. Copyable examples, output expectations, and common mistakes.

$
Terminal
ionice -c <scheduling_class> -n <priority> <command>

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.
-n
n| classdata
The value supplied for n| classdata.
<priority>
priority
The value supplied for priority.
<command>
command
The value supplied for command.
-c
Command Option
Tool-specific option used by this command invocation.
-n
Command Option
Tool-specific option used by this command invocation.

Alternative Approaches

Comparable commands in other tools

Alternative tools for a closely related operation.