February 2020
Intermediate to advanced
734 pages
38h 13m
English
While the iotop data is not actually part of the statistics gathered automatically by the sysstat package, we can log the data for posterity anyway. Follow these steps as a root-level user to log the iostat data:
* * * * * root iotop -boat -qqq -d 5 -n 2 >> /var/log/iotop
sudo systemctl restart cron
sudo systemctl restart crond
By adding the -a parameter, iotop will log the cumulative total of the I/O used between the readings instead of the I/O per second. We use the -d argument to add a 5-second delay between two readings, as specified ...
Read now
Unlock full access