Data collection
sudo systemctl enable --now sysstat.serviceThis enables and activates both sysstat-collect.timer and sysstat-summary.timer, which perform data collection and summarization.
Use the following command to check if systemd timers exist:
systemctl list-unit-files | grep sysstatOn ancient versions of Ubuntu and Debian, you may need sed -i 's/^ENABLED="false"/ENABLED="true"/' /etc/default/sysstat instead.