how to enable sysstat disk statistics on redhat and centos

redhat derived systems do not enable disk statistic collection by default. it is easily done by editing the cron job for sa1 in /etc/cron.d/sysstat, and adding a -d command line argument to the sa1 call.

unfortunately, the change will not be reflected until the next day.


*/10 * * * * root /usr/lib64/sa/sa1 1 1


*/10 * * * * root /usr/lib64/sa/sa1 -d 1 1