歡迎您光臨本站 註冊首頁

linux網路流量實時監控工具之iptraf

←手機掃碼閱讀     火星人 @ 2014-03-09 , reply:0

linux網路流量實時監控工具之iptraf

[我的Linux,讓Linux更易用]IPTraf是一個網路監控工具,功能比nload更強大,可以監控所有的流量,IP流量,按協議分的流量,還可以設置過濾器等,如下圖


對監控網路來說,這個更適合也更強大,但在總的流量顯示上,沒nload直觀和方便

官網及下載 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
./Setup

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


[火星人 ] linux網路流量實時監控工具之iptraf已經有907次圍觀

http://coctec.com/docs/linux/show-post-50300.html