How to install sar (sysstat) on Ubuntu and Debian

banner dedicated


In this tutorial we will explain how to install “sar” sysstat on Ubuntu and Debian Server


Installation of sysstat

apt-get install sysstat -y


Run sysstat

sar -q


If you get this error :

Cannot open /var/log/sysstat/sa15: No such file or directory·


You need to enable sysstat in the config file

nano /etc/default/sysstat

...
# Should sadc collect system activity informations? Valid values
# are "true" and "false". Please do not put other values, they
# will be overwritten by debconf!
ENABLED="true"
...


Restart the service

service sysstat restart


banner dedicated


Colo-Serv Communications has written 32 articles

Premium Dedicated Hosting Services

Leave a Reply

Your email address will not be published. Required fields are marked *

one × 4 =

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>