Centos安装ifstat统计网络流量
2014-11-21 18:51
267 查看
原文地址:
http://www.winvps.org/post/504.html
下载 ifstat , http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz
wget http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz
tar xzvf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure
make
make install
都是老套路,别和我说你没装gcc .
然后 man ifstat
-t 显示时间 格式:HH:MM:SS
-i 指定的网卡 ,如果有多块网卡 以","分隔
-T 显示所有接口的带宽.
# ifstat -t -i tun0,tun1 -T
Time tun0 tun1 Total
HH:MM:SS KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out
06:38:02 6.25 0.29 1.43 1.18 7.67 1.47
06:38:03 0.74 0.96 2.59 6.07 3.33 7.02
06:38:04 13.37 0.85 7.07 0.81 20.44 1.66
06:38:05 8.15 1.14 3.46 2.24 11.61 3.38
06:38:06 3.26 1.18 13.48 1.20 16.73 2.37
06:38:07 0.57 0.65 1.67 0.19 2.24 0.84
06:38:08 1.36 0.57 0.05 0.10 1.41 0.67
06:38:09 0.23 0.10 0.18 0.00 0.41 0.10
06:38:10 0.54 0.19 0.51 1.13 1.05 1.32
06:38:11 1.08 0.50 1.24 0.12 2.33 0.62
http://www.winvps.org/post/504.html
下载 ifstat , http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz
wget http://gael.roualland.free.fr/ifstat/ifstat-1.1.tar.gz
tar xzvf ifstat-1.1.tar.gz
cd ifstat-1.1
./configure
make
make install
都是老套路,别和我说你没装gcc .
然后 man ifstat
-t 显示时间 格式:HH:MM:SS
-i 指定的网卡 ,如果有多块网卡 以","分隔
-T 显示所有接口的带宽.
# ifstat -t -i tun0,tun1 -T
Time tun0 tun1 Total
HH:MM:SS KB/s in KB/s out KB/s in KB/s out KB/s in KB/s out
06:38:02 6.25 0.29 1.43 1.18 7.67 1.47
06:38:03 0.74 0.96 2.59 6.07 3.33 7.02
06:38:04 13.37 0.85 7.07 0.81 20.44 1.66
06:38:05 8.15 1.14 3.46 2.24 11.61 3.38
06:38:06 3.26 1.18 13.48 1.20 16.73 2.37
06:38:07 0.57 0.65 1.67 0.19 2.24 0.84
06:38:08 1.36 0.57 0.05 0.10 1.41 0.67
06:38:09 0.23 0.10 0.18 0.00 0.41 0.10
06:38:10 0.54 0.19 0.51 1.13 1.05 1.32
06:38:11 1.08 0.50 1.24 0.12 2.33 0.62
相关文章推荐
- ifstat和iftop网络流量实时监控、vnstat网络流量统计,系统centos7
- Centos 6下通过nicstat进行网络流量统计
- ifstat命令_Linux ifstat 命令用法详解:统计网络接口流量状态
- CentOS7.3下安装接口流量工具-ifstat
- ifstat 网络流量统计工具
- ifstat命令行统计网络流量
- ifstat 查看系统网络流量
- centos安装iftop查看即时网络流量
- centos安装iftop查看即时网络流量
- ifstat 查看系统网络流量
- centos安装iftop查看即时网络流量
- CentOS 安装iftop 监控网络流量
- FreeBSD-4.7下安装网络流量统计分析工具MRTG
- centos6.5 安装基于Web的网络流量监控系统ntopng
- Linux网络流量实时监控ifstat iftop命令详解
- Linux网络流量实时监控ifstat iftop命令详解
- Linux网络流量实时监控ifstat iftop命令详解
- centos安装iftop查看即时网络流量
- Ubuntu 14.10 下网络流量实时监控ifstat iftop命令详解
- Linux网络流量实时监控ifstat iftop命令详解