How To Install Ionice?

How To Install Ionice?

ionice

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).

Maintainer: LaMont Jones


Section: utils

Install ionice

  • Debian apt-get install util-linux Click to copy
  • Ubuntu apt-get install util-linux Click to copy
  • Alpine OS apk add util-linux Click to copy
  • Arch Linux pacman -S util-linux Click to copy
  • Kali Linux apt-get install util-linux Click to copy
  • CentOS yum install util-linux Click to copy
  • Fedora dnf install util-linux Click to copy
  • Raspbian apt-get install util-linux Click to copy
  • macOS brew install util-linux Click to copy

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).

How to use ionice?

Below are few example commands for ionice that you can use in the terminal.

Set I/O scheduling class of a running process:
ionice -c scheduling_class -p pidClick to copy
Run a command with custom I/O scheduling class and priority:
ionice -c scheduling_class -n priority commandClick to copy
Print the I/O scheduling class and priority of a running process:
ionice -p pidClick to copy
Installation of latest ionice command is available for Debian, Ubuntu, Alpine, Arch, Kali, CentOS, Fedora, Raspbian and macOS. You can copy the command for your OS from above and paste it into your terminal. Once you run the command it will download the 2026 latest package from the repository and install it in your computer/server.