linux网络流量实时监控工具之iptraf
这个工具还是很强大
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
转 http://www.wdlinux.cn/old/iptraf
相关文章
- Linux:监控GPU状态【nvidia-smi】【watch -n 1 nvidia-smi】【pip install gpustat;gpustat -i】
- linux命令行下修改系统时间、时区
- linux环境中,top命令中,对command的命令进行扩展查看详情?
- cpustat:在Linux下根据运行的进程监控CPU使用率
- [转]Linux Shell 1>/dev/null 2>&1 含义
- Linux Shell 网络层监控脚本(监控包括:连接数、句柄数及根据监控反馈结果分析)
- 使用Ganglia对Linux网格和集群服务器进行实时监控
- Linux学习笔记之RAID笔记
- 监控 Linux 性能的 18 个命令行工具
- 又一波你可能不知道的 Linux 命令行网络监控工具
- linux 查看磁盘空间大小
- CentOS7 和 CentOS8 安装 rusers-server 然后使用LR 实时监控Linux主机性能的办法
- Linux IO实时监控iostat命令详解
- Linux下libevent安装与示例
- Linux的IO性能监控工具iostat详解
- 【JVM】jconsole远程监控linux上的java进程
- 常用DOS命令和Linux命令
- Linux中sudo和su之间的差别
- Cockpit -- 一个通过浏览器监控和管理多台Linux服务器的强大工具
- linux监控命令
- 搭建基于Nagios的监控系统——之监控远程Linux服务器
- Linux服务器上监控网络带宽的18个常用命令
- 【Linux资源管理】一款优秀的linux监控工具——nmon
- Linux电源管理(7)_Wakeup events framework
- 【Linux】Linux进程控制及程序替换