Measuring throughput of NIC with “iptraf” and “ethstatus” February 12, 2011Posted by Tournas Dimitrios in Linux admin tools.
This article will present two terminal based tools for monitoring the throughput of the network card ( NIC ) .Both tools are provided from EPEL repository , and the installation on RedHat based distributions can be made with the yum installer . The first tool (iptraf) is mostly targeted to advanced user , that have a good understanding of the TCP/IP stack . It can also be run as an background process and the results be written on log files for better analysis . The second tool (etherstatus) can be used by the average user to get a quick statistical view of the overall throughput for the network cart (NIC) .
IPTraf is a console-based network statistics utility for Linux. It gathers a variety of figures such as TCP connection packet and byte counts, interface statistics and activity indicators, TCP/UDP traffic breakdowns, and LAN station packet and byte counts. IPTraf is an IP traffic monitor that shows information on the IP traffic passing over your network. IPTraf is very easy to use with the easy to use menus and the simplicity of configurations (if changing from defaults) makes it a real nice command-line network utility. IPTraf is a root only utility and cannot be run by standard users. Protocols supported are IP, TCP, UDP, ICMP, IGMP, IGP, IGRP, OSPF, ARP, RARP and supports Loopback, Ethernet, FDDI, SLIP, Asynchronus PPP, Synchronus PPP over ISDN, ISDN . The on-line manual covers all the details how to use this excellent tool
ethstatus : Ethstatus is a console-based monitoring utility for displaying statistical data of the ethernet interface on a quantity basis. It is similar to iptraf but is meant to run as a permanent console task to monitor the network load . Defenitly it is for the average user that wants a quick view of the network interface throughput .
Basic usage : etherstatus -i eth0
For CentOs 5.x iptraf is provided by the “base” repository and ethstatus from EPEL