Delay accounting in the Linux kernel
Published:
Delay accounting is something you should enable in your kernel if
you want to see IO% in
iotop(1).
To enable delay accounting, add delayacct to your kernel
command line arguments.
If you use GRUB as your bootloader, you need to edit the
GRUB_CMDLINE_LINUX_DEFAULT variable:
cat /etc/default/grub | grep -P '^GRUB_CMDLINE_LINUX_DEFAULT'
GRUB_CMDLINE_LINUX_DEFAULT="loglevel=3 quiet delayacct"
Then, regenerate the GRUB configuration:
grub-mkconfig -o /boot/grub/grub.cfg
Generating grub configuration file ...
done