Install vnstat on CentOS 7

To install vnstat on CentOS 7, run

yum install vnstat -y

Now create database for your network interface card

vnstat --create -i NETWORK_INTERFACE_NAME

Restart vnstat deamon

systemctl restart vnstat

See vnstat

Need help with Linux Server or WordPress? We can help!

Leave a Reply

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