Welcome to the Linux Foundation Forum!

11.10.a sar

jengeljengel Posts: 41
edited October 2017 in LFS201 Class Forum

with a default Ubuntu 16.04 setup (and the LFCS VM) statistics collection is disabled and executing "sar" will result the message below. 


[email protected]:~$ sudo sar Cannot open /var/log/sysstat/sa25: No such file or directory Please check if data collecting is enabled

I would suggest  adding  a comment in the course that one  needs  to enable it first in /etc/default/sysstat like so:




  • luisviveropenaluisviveropena Posts: 761
    edited October 2017

    Hi Jengel,

    Yes, and also restarting the service or rebooting is neccesary to get sar working. I'm going to check if we can add this information.



Sign In or Register to comment.