+3 votes
in Operating Systems by (56.8k 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 (349k 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

change

ENABLED=”false”

to

ENABLED=”true”

Related questions


...