rhel7 rpm 下载 源码下载 sourceforge相关
注意: 源码编译需要使用下面 RPM
gcc cpp glibc glibc-devel gcc-c++ make libpcap libpcap-devel libpng libpng-devel gd gd-devel当前只以 RPM 为说明例子
安装方法
rpm -ivh bandwidthd-2.0.1-27.el7.nux.x86_64.rpm yum install -y httpd根据自己需要替换 dev 对应设备即需要监控的 subnet 地址
[root@hh-yun-compute-130133 ~]# grep -v "#" /etc/bandwidthd.conf | grep -v ^$ subnet 10.199.0.0/16 dev "bond0" promiscuous true recover_cdf true meta_refresh 150暂时临时使用 httpd 只需要修改 httpd.conf 中 DocumentRoot 部分即可
DocumentRoot "/var/www/bandwidthd/htdocs/"主页面
具体某个链路流量
network monitoring 软件推荐 tcpdump example 20 Command Line Tools to Monitor Linux Performance
