【RHCA+】iptraf-ng(网络监控分析)

" 目录:RHCA+ -> 12 系统监控 -> 52 iptraf-ng(网络监控分析) "

可对网络进行简单分析,可看到带宽、网络包传输情况;语法格式:iptraf-ng 参数

|----|--------|
| 参数 | 作用 |
| -h | 查看帮助 |
| -s | 指定监控网口 |

一、安装

root@wuzuniao \~# yum -y install iptraf #安装工具

二、使用

root@wuzuniao \~# iptraf-ng #进行网络监控

iptraf-ng 1.1.4

┌─────────────────────────────────┐

│ IP traffic monitor │

│ General interface statistics │

│ Detailed interface statistics │

│ Statistical breakdowns... │

│ LAN station monitor │

│─────────────────────────────────│

│ Filters... │

│─────────────────────────────────│

│ Configure... │

│─────────────────────────────────│

│ About... │

│─────────────────────────────────│

│ Exit │

└─────────────────────────────────┘

Displays current IP traffic information

Up/Down-Move selector Enter-execute

1、选择IP traffic monitor后

┌ Select Interface ────┐

│ All interfaces │

│ lo │

│ ens33 │

│ virbr0 │

└──────────────┘

2、选择ens33后

iptraf-ng 1.1.4

┌ TCP Connections (Source Host:Port) ───────────── Packets ──── Bytes Flag Iface ───┐

│┌192.168.1.160:22 > 431 96952 -PA- ens33 │

│└192.168.1.250:54418 > 385 18904 --A- ens33 │

│ │

│ │

│ │

│ │

│ │

│ │

│ │

│ │

│ │

│ │

│ │

│ │

└ TCP: 1 entries ────────────────────────────────────────────────────── Active ─┘

┌────────────────────────────────────────────────────────────────────────────────────┐

│ ICMPv6 neigh sol (72 bytes) from fe80::381f:f8bd:1052:2747 to 2408:8266:201:b27:c2 │

│ ICMPv6 neigh adv (64 bytes) from 2408:8266:201:b27:c27c:90ff:fe21:f642 to fe80::38 │

│ ICMPv6 neigh sol (72 bytes) from fe80::1 to fe80::381f:f8bd:1052:2747 on ens33 │

│ ICMPv6 neigh adv (64 bytes) from fe80::381f:f8bd:1052:2747 to fe80::1 on ens33 │

│ ICMPv6 neigh sol (72 bytes) from fe80::381f:f8bd:1052:2747 to fe80::1 on ens33 │

│ ICMPv6 neigh adv (64 bytes) from fe80::1 to fe80::381f:f8bd:1052:2747 on ens33 │

└ Bottom ────── Elapsed time: 0:00 ────────────────────────────────────────────────┘

Packets captured: 835 │ TCP flow rate: 21.10 kbps

Up/Dn/PgUp/PgDn-scroll M-more TCP info W-chg actv win S-sort TCP X-exit

3、按X退出

root@wuzuniao \~#

相关推荐
zhinengws5 小时前
沃思智能智能路灯监控终端:从项目落地到智慧城市生态的深度观察
网络·人工智能·智慧城市·智能路灯监控终端
蜗牛一步步往上爬6 小时前
第十七章 创建函数
linux
沙老师8 小时前
Linux Purification Plan - More Modification
linux·运维·服务器
Tanner_SL8 小时前
Linux笔记之常用命令
linux·笔记·php
StarsGreen9 小时前
gstreamer应用使用API详解
linux
Brain 博览记9 小时前
脑网络AI丨给图神经网络装上“信息高速路”
开发语言·网络·论文阅读·人工智能·深度学习·神经网络·机器学习
鱼很腾apoc9 小时前
【Redis】第2期 详解Redis五大数据结构:命令+C++实现、渐进式遍历与数据库管理
linux·服务器·c语言·数据结构·c++·redis·学习
沙老师10 小时前
重新设计 Linux VFS 的 Mount 机制
linux
bufengwangluo19 小时前
动态代理IP是什么?从IP池到自动切换的工作机制解读
服务器·网络·ip
进阶的猪19 小时前
Linux DRM 驱动
linux·kms·drm·gem