bandwidthd 流量監控
這是一套安裝方便的流量監控軟體讓管理者可以簡單監控內部網路的使用狀況
安裝平台:CentOS 4.4
1.下載套件
原始下載點:
ftp://ftp.pbone.net/mirror/rebus ... hd-2.0.1-1.i386.rpm
備用下載點:
http://www.ihao.org/php/web/rpm/bandwidthd-2.0.1-1.i386.rpm
2.安裝bandwidthd rpm-ivhbandwidthd-2.0.1-1.i386.rpm
3.設定參數 vi /etc/bandwidthd.conf
設定監控的網段subnet 192.168.0.0/24
設定監控的網卡 dev "eth0"
4.設定開機自動啟用 chkconfigbandwidthd on
5.啟動 bandwidthd service bandwidthdstart
或
/etc/init.d/bandwidthd start
6.將網頁資料拉到可以看到的地方 ln -s /usr/share/bandwidthd/htdocs /var/www/html/bandwidthd
網頁路徑
http://your website/bandwidthd/
7.大公告成!
DEMO :
http://www.ihao.org/php/images/bandwidthd.jpg P.S.安裝的結構
/etc/bandwidthd.conf
/etc/rc.d/init.d/bandwidthd
/usr/sbin/bandwidthd
/usr/share/bandwidthd
/usr/share/bandwidthd/htdocs
/usr/share/bandwidthd/htdocs/legend.gif
/usr/share/bandwidthd/htdocs/logo.gif
/usr/share/doc/bandwidthd-2.0.1
/usr/share/doc/bandwidthd-2.0.1/CHANGELOG
/usr/share/doc/bandwidthd-2.0.1/README
/usr/share/doc/bandwidthd-2.0.1/TODO 頂你一下,好帖要頂! 不错,支持下 初來乍到,請多多關照。。。
頁:
[1]