# 安装vnstat
$ yum install -y vnstat
# 配置vnstat
systemctl enable vnstat.service
vnstat --create -i eth0
vnstat --create -i eth1
systemctl restart vnstat.service
# 查看流量
vnstat -i eth1 -d
# 安装vnstat
$ yum install -y vnstat
# 配置vnstat
systemctl enable vnstat.service
vnstat --create -i eth0
vnstat --create -i eth1
systemctl restart vnstat.service
# 查看流量
vnstat -i eth1 -d
本文标题:vnstat 监控流量
本文链接:https://www.haomeiwen.com/subject/murnrftx.html
网友评论