Welcome to the Linux Foundation Forum!

11.10.a sar

jengel
jengel Posts: 41

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

 


student@ubuntu:~$ 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:


ENABLED="true"

 

Comments

  • luisviveropena
    luisviveropena Posts: 1,252
    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.

    Thanks,

    Luis.

Categories

Upcoming Training