I have:
mona@pascal:~$ cat /etc/default/sysstat
#
# Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat
# and /etc/cron.daily/sysstat files
#
# Should sadc collect system activity informations? Valid values
# are "true" and "false". Please do not put other values, they
# will be overwritten by debconf!
ENABLED="true"
and then:
mona@pascal:~$ sudo sar -d
Cannot open /var/log/sysstat/sa20: No such file or directory
Please check if data collecting is enabled in /etc/default/sysstat
Can you please suggest a fix?
Ubuntu 14.04
Open
/etc/default/sysstat
using your favorite file editor and changeENABLED="false"
toENABLED="true"
Restart sysstat:
sudo service sysstat restart
and now here you are!