Linux服务器---流量监控bandwidthd
Bandwidthd
Bandwidthd是一款免费的流量监控软件,它可以用图标的方式展现出网络流量行为,并且可区分出ftp、tcp等各种协议的流量。
SRE实战 互联网时代守护先锋,助力企业售后服务体系运筹帷幄!一键直达领取阿里云限量特价优惠。1、安装一些依赖软件
|
2、下载bandwidthd软件(https://sourceforge.net/projects/bandwidthd/files/bandwidthd/bandwidthd 2.0.1/)
3、解压bandwidthd。
|
4、安装。Bandwidthd需要进行编译安装,首先要执行configure文件,生成makefile,然后在编译、安装
|
5、修改配置文件“/usr/local/bandwidthd/etc/bandwidthd.conf”,设置监听的网段和网卡
|
6、建立链接,在apache网页根目录建立一个链接,指向bandwidthd,这样可以快速打开bandwidthd
|
7、启动bandwidthd
|
8、在浏览器输入“127.0.0.1/bandwidthd”打开bandwidthd。请确保你已经开启了httpd服务。
9、设置bandwidthd开机启动
|
