Linux网络监控统计工具iptraf

27次阅读

系统和网络设施:Linux 系统下一个基于控制台的网络统计工具。
iptraf 集多种数据,TCP 连接的字节数、数据包、统计和活动指标、TCP / UDP 通行故障、本地站点包和二进制字节计算。

呃,刚使用 yum,发现可以找到这个工具。既然如此,那么就使用 yum 安装。

[root@searu ~]# yum -y install iptraf

Linux 网络监控统计工具 iptraf

yum install iptraf

[root@searu ~]# iptraf -h
语法:iptraf [-f] [{ -i iface | -g | -d iface | -s iface | -z iface |
-l iface } [-t timeout] [-B] [-L logfile] [-I interval] ]
iptraf 命令选项:
-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

终端直接运行 #iptraf 命令,按任意键继续,然后选择监控器。

Linux 网络监控统计工具 iptraf

#iptraf

如下所示,为 IP traffic minitor,all interfaces。

Linux 网络监控统计工具 iptraf

iptraf 监控 IP 流量

进入 iptraf 界面后,进入菜单可以配置 iptraf、规则。也可以换到其他监控器。

iptraf 下载地址:http://iptraf.seul.org/download.html

iptraf 特性:

  • An IP traffic monitor that shows information on the IP traffic passing over your network. Includes TCP flag information, packet and byte counts, ICMP details, OSPF packet types.
  • General and detailed interface statistics showing IP, TCP, UDP, ICMP, non-IP and other IP packet counts, IP checksum errors, interface activity, packet size counts.
  • A TCP and UDP service monitor showing counts of incoming and outgoing packets for common TCP and UDP application ports
  • A LAN statistics module that discovers active hosts and shows statistics showing the data activity on them
  • TCP, UDP, and other protocol display filters, allowing you to view only traffic you’re interested in.
  • Logging
  • Supports Ethernet, FDDI, ISDN, SLIP, PPP, and loopback interface types.
  • Utilizes the built-in raw socket interface of the Linux kernel, allowing it to be used over a wide range of supported network cards.
  • Full-screen, menu-driven operation.

可识别协议:

  • IP
  • TCP
  • UDP
  • ICMP
  • IGMP
  • IGP
  • IGRP
  • OSPF
  • ARP
  • RARP

具体请访问:About IPTraf

正文完
 
关于

柠檬铺(NINGMOP.COM)品牌网站建设 专注于网站建设领域,面向全国各省市地区的大中小型企业、事业单位、政府机构提供网站建设、网络基础服务、平面设计等服务,致力于为客户提供精准的电子商务信息化解决方案,拥有多年的资深行业经验。业务范围涉及:网站策划、网站设计、程序开发、网站推广等。

信任

柠檬铺 品牌网站建设 在我们的不懈努力下,已成为客户在互联网信息化领域值得信任、有价值的长期合作伙伴,很多同一项目在我们这里进行升级或完善。不管是各行业的企业站还是各种规模与类型的电子商务平台,我们都将以个性化的的创意策划、成熟的网站建设技术、强大的程序开发实力、丰富的网站维护经验以及全方位的网络营销策略,为客户提供真正专业、全面的解决方案。

Copyright ©2023 柠檬铺
湘公网安备43020202000110号 湘ICP备15002662号-5
嘿,我来帮您!
 Theme by Puock