One Unified Global Perspective
Communications with a Global Perspective
Home
Intro
Contact Us
Voice over IP
PBX Solutions
Services
Support
Glossary
Open Source
Blog
Forum

WebMail





2007 Mar 14 - Wed

iftop: Display Bandwidth Usage on an Interface

iftop is an interesting command line utility for tracking traffic on an interface. tcpdump is good for looking at packet content in real time, this is good for looking at what makes up traffic bandwidth in realtime.

Installation is easy:

apt-get install iftop 

I have second interface on the monitoring server which is listening to what ever traffic passes in and out of the internal interface of the firewall. The switch port connecting to the firewall is 'span'd to the monitoring server's eth1. This allows one to monitor all components of inbound and outbound traffic.

Here is the command I used for looking at generating a bar chart of traffic details:

iftop -i eth1 -F 10.0.0.0/255.0.0.0 -P

The -F parameter provides an indication of what is internal traffic and what is external traffic. The -P parameter shows the ports in each flow. For run-time commands, take a look at 'man iftop'.



Blog Content ©2008
Ray Burkholder
All Rights Reserved
ray@oneunified.net
(441) 505 7293
Available for Contract Work
Resume

RSS: Click to see the XML version of this web page.

View Ray 
Burkholder's profile on LinkedIn
technorati
Add to Technorati Favorites



March
Su Mo Tu We Th Fr Sa
       
14


Main Links:
Monitoring Server
SSH Tools
QuantDeveloper Code

Special Links:
Frink

Blog Links:
Sergey Solyanik
Marc Andreessen
HotGigs
Micro Persuasion
... Reasonable ...
Chris Donnan
BeyondVC
lifehacker
Trader Mike
Ticker Sense
HeadRush
TraderFeed
Stock Bandit
The Daily WTF
Guy Kawaski
J. Brant Arseneau
Steve Pavlina
Matt Cutts
Kevin Scaldeferri
Joel On Software
Quant Recruiter
Blosxom User Group
Wesner Moise
Julian Dunn
Steve Yegge

2007
Months
Mar




Mason HQ

Disclaimer: This site may include market analysis. All ideas, opinions, and/or forecasts, expressed or implied herein, are for informational purposes only and should not be construed as a recommendation to invest, trade, and/or speculate in the markets. Any investments, trades, and/or speculations made in light of the ideas, opinions, and/or forecasts, expressed or implied herein, are committed at your own risk, financial or otherwise.