Welcome to the Linux Foundation Forum!

11.10.a sar

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. 

 


  1. student@ubuntu:~$ sudo sar
  2. Cannot open /var/log/sysstat/sa25: No such file or directory
  3. 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:


  1. ENABLED="true"

 

Comments

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

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Welcome!

It looks like you're new here. Sign in or register to get started.
Sign In

Categories

Upcoming Training