+3 votes
in Operating Systems by (43.2k points)

I installed sysstat on my Ubuntu VPS, but even after 24 hours when I run the command "sar", it gives the following error:

Cannot open /var/log/sysstat/sa08: No such file or directory
Please check if data collecting is enabled

How can I enable data collection? 

1 Answer

+1 vote
by (233k points)
selected by
Best answer

To enable the data collection, you need to make some changes in the file "/etc/default/sysstat".

Open “/etc/default/sysstat” in an editor and





Related questions