The ionice command is part of the util-linux package and is available from https://www.kernel.org/pub/linux/utils/util-linux/
This program sets or gets the I/O scheduling class and priority for a program. If no arguments or just -p is given, ionice will query the current I/O scheduling class and priority for that process.