linux网络流量实时监控工具之iptraf

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 -hSyntax:
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

注:网络上大量的说明都是基于apache的,所以如果是nginx的话,所有的命令需要再后面加上-ng 。

例:iptraf-ng

转载于:https://www.cnblogs.com/zhenghongxin/p/5101352.html

linux网络流量实时监控工具之iptraf 【个人比较喜欢用的流量监控软件】相关推荐

  1. Linux下网络流量实时监控工具 大全

    Linux下网络流量实时监控工具 大全 在工作中发现,经常因为业务的原因,需要即时了解某台服务器网卡的流量,虽然公司也部署了cacti软件,但cacti是五分钟统计的,没有即时性,并且 有时候打开监控 ...

  2. Linux下网络流量实时监控工具大全

    Linux下网络流量实时监控工具 大全 在工作中发现,经常因为业务的原因,需要即时了解某台服务器网卡的流量,虽然公司也部署了cacti软件,但cacti是五分钟统计的,没有即时性,并且有时候打开监控页 ...

  3. 简易的 Linux 流量实时监控工具 watch+ifstat

    非常简单小巧的流量实时监控工具,贵在不需要安装,Linux 操作系统自带,在不出外网的环境中很是实用. watch -d ifstat eth1 如果连 ifstat 都没有的环境中也可以使用 ifc ...

  4. Linux网络流量实时监控工具-ifstat

    介绍 ifstat工具是个网络接口监测工具,比较简单看网络流量 ifstat的安装使用: wget http://distfiles.macports.org/ifstat/ifstat-1.1.ta ...

  5. centos7.X版本如何下载网络流量实时监控工具iftop

    在Linux系统中可以使用top查看系统资源,进程,内存占用等信息,查看网络状态可以使用netstat.nmap等工具,若要查看实时的网络流量,监控TCP/IP连接,反向解析IP,显示端口信息等,则可 ...

  6. python流量实时统计_Python实现获取nginx服务器ip及流量统计信息功能示例

    本文实例讲述了Python实现获取nginx服务器ip及流量统计信息功能.分享给大家供大家参考,具体如下: #!/usr/bin/python #coding=utf8 log_file = &quo ...

  7. 2020 最好的Linux网络监控工具(翻译)

    前言 虽然这个清单包含开源的和闭源的产品,但它着重于介绍基于 Linux 的网络监控工具, 少数常用工具只能在 Windows,Pandora 或其他系统上运行,但是大多数网络监视工具都在Linux系 ...

  8. 2020 最好的Linux网络监控工具

    前言 虽然这个清单包含开源的和闭源的产品,但它着重于介绍基于 Linux 的网络监控工具, 少数常用工具只能在 Windows,Pandora 或其他系统上运行,但是大多数网络监视工具都在Linux系 ...

  9. 监视和调整Linux网络协议栈:接收数据

    Table of Contents 有关监视和调整Linux网络协议栈的建议 总览 详细外观 网络设备驱动程序 初始化 网络设备初始化 启动网络设备 监控网络设备 调整网络设备 SoftIRQ 什么是 ...

最新文章

  1. 从某一日期开始过day天的日期
  2. socket函数介绍
  3. 安卓平台下的音视频即时通讯应用的开发
  4. jzoj6824-[2020.10.17提高组模拟]英雄联盟【期望】
  5. 技术动态 | 大规模中文概念图谱CN-Probase正式发布
  6. php 警告方法 不可用,升级PHP版本后警告信息的逐一解决
  7. yum提示Another app is currently holding the yum lock; waiting for it to exit...处理办法
  8. shell中输出日期的一个函数
  9. 20. Learning to Perturb Word Embeddings for Out-of-distribution QA 阅读笔记
  10. c语言读取ascii文件,C++对ASCII文件的读写操作
  11. 输入年份和天数计算出几月几号
  12. torch.load received a zip file
  13. oracle静默安装报错,静默安装Oracle11gR2 [FATAL] [INS-32015]报错
  14. iOS开发---开发工具简介
  15. 【学习笔记】群论基础
  16. Linux操作系统学习笔记(三十)docker和k8s的恩怨情仇
  17. 想入坑自动化测试?先了解下必备工具---Selenium
  18. 手把手 | 用R分析宋词三百首 自己动手写个“机器诗人”
  19. 让你不受正版 Windows XP 黑屏补丁的影响!
  20. slice()和splice()

热门文章

  1. iframe内部内容在浏览窗口位置固定的问题
  2. ASP.NET MVC Preview 2新特性
  3. php点击按钮弹窗提示,WEB表单,给出弹出框提示,点击按钮报错
  4. 前沿 | 谷歌用深度学习进行深度预测
  5. Python数据分析模块 | pandas做数据分析(三):统计相关函数
  6. 数据预处理 | 机器学习之特征工程
  7. 深度学习(十九)基于空间金字塔池化的卷积神经网络物体检测
  8. Typora图片上传和加载问题解决方案
  9. idea 编译 maven 项目
  10. Spring 国际化 MessageSource