FreeBSD下ntop和nload安装及使用

2009-05-13 09:44:26来源:未知 阅读 ()

新老客户大回馈,云服务器低至5折

ntop可以用在网关上,查看经过网关的IP使用的流量等等。先要安装好Apache.
freebsd#cd /usr/ports/net/ntop
freebsd#make install
默认选项即可
安装完后:
freebsd#chmod 555 /usr/local/etc/rc.d/ntop.sh
freebsd#ee /usr/local/etc/rc.d/ntop.sh
改interfaces=""为interfaces="lnc1"    //lnc1为内网接口
改userid='nobody'为userid='root'      //改ntop的启用用户
freebsd# ntop -A
设置密码后,再起动:
freebsd#/usr/local/etc/rc.d/ntop.sh start
起动后可以看到系统起动了3000和3001两个端口:
http://www.lingfeng.cn:3000
https://www.lingfeng.cn:3001
可以注释掉3001端口
即可以查看分析了。
DOS下查看IP对应主机名:
nbtstat -a 192.168.1.69
FreeBSD下nload安装及使用:
nload是查看网卡当前流量的工具:
freebsd#cd /usr/ports/net/nload
freebsd#make install
安装完成后使用:
freebsd#nload lnc0    //lnc0是网卡名。
不可以长时间查看,会增加CPU负担。

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u/19330/showart_368555.html

标签:

版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com
特别注意:本站所有转载文章言论不代表本站观点,本站所提供的摄影照片,插画,设计作品,如需使用,请与原作者联系,版权归原作者所有

上一篇:FreeBSD下nmap安装及使用

下一篇:freebsd下ping脚本