linux網絡流量實時監控工具之iptrafhtml
[個人Linux,讓Linux更易用]IPTraf是一個網絡監控工具,功能比nload更強大,能夠監控全部的流量,IP流量,按協議分的流量,還能夠設置過濾器等,以下圖linux
對監控網絡來講,這個更適合也更強大,但在總的流量顯示上,沒nload直觀和方便web
官網及下載 http://iptraf.seul.org/download.html
ftp://the.wiretapped.net/pub/security/network-monitoring/iptraf/iptraf-3...性能優化
http://dl.wdlinux.cn:5180/soft/iptraf-3.0.0.tar.gz網絡
源碼安裝
wget ftp://iptraf.seul.org/pub/iptraf/iptraf-3.0.0.tar.gz
tar zxvf iptraf-3.0.0.tar.gz
cd iptraf-3.0.0
./Setupapp
yum方式安裝
yum install -y iptraf負載均衡
使用
直接運行 iptraf
後有一個以下的菜單提示,而後進入相關的選項查看工具
IP流量監視(IP traffic monitor)
網絡接口的通常信息統計(General Interface Statistics)
網絡接口的細節信息統計(Detailed Interface Statistics)
統計分析(Statistical Breakdowns)
局域網工做站統計(LAN Station Statistics)
過濾器(Filters...)
配置(Configure...)
退出(Exit)性能
也能夠直接加參數或選項直接進入
能夠查看還有哪些參數和選項
[root@wdlinux iptraf-3.0.0]# iptraf -h優化
Syntax:
iptraf [ -f ] [ { -i iface | -g | -d iface | -s iface | -z iface |
-l iface } [ -t timeout ] [ -B ] [ -L logfile ] [-I interval] ]
Issue the iptraf command with no parameters for menu-driven operation.
These options can also be supplied to the command:
-i iface - start the IP traffic monitor (use "-i all" for all interfaces)
-g - start the general interface statistics
-d iface - start the detailed statistics facility on an interface
-s iface - start the TCP and UDP monitor on an interface
-z iface - shows the packet size counts on an interface
-l iface - start the LAN station monitor ("-l all" for all LAN interfaces)
-B - run in background (use only with one of the above parameters)
-t timeout - when used with one of the above parameters, tells
the facility to run only for the specified number of
minutes (timeout)
-L logfile - specifies an alternate log file for any direct invocation
of a facility from the command line. The log is placed in
/var/log/iptraf if path is not specified.
-I interval - specifies the log interval for all facilities except the IP
traffic monitor. Value is in minutes.
-f - clear all locks and counters. Use with great caution.
Normally used to recover from an abnormal termination.
IPTraf 3.0.0 Copyright (c) Gerard Paul Java 1997-2004
歡迎轉載,但請保留此信息
[個人Linux,讓Linux更易用] CentOS定製自動安裝版,lamp,lnmp自動安裝腳本,集羣負載均衡LVS,性能優化,ispconfig,webmin
本文鏈接:http://www.wdlinux.cn/iptraf