BLOG     |     FORUM
Tool: Traffic Monitor

Traffic Monitor

This tool is part of a series of utilities written by Unleash Networks. These tools are meant to illustrate the use of the Unsniff Scripting API and to motivate you to write your own tools.

Traffic Monitor is a tool that displays the traffic pattern seen by Unsniff over the duration of a capture.

Traffic Monitor ChartThis tool demonstrates usage of the Unsniff Scripting API, Ruby, and Fox-Ruby.
The free Ruby charting package UnleashCharts is used to render the graphs.


Traffic Monitor

Quick Info

This tool demonstrates the following concepts

Using the Unsniff Scripting API

Using the Fox-Ruby toolkit to create GUI programs

The free ruby charting library UnleashCharts

Calculating traffic in (bps) 
The Unsniff Scripting API allows you to create your own network analysis tools. Used in conjunction with Ruby and FX-Ruby - you can create powerful tools for your everyday use.  Traffic Monitor is part of a set of tools created by Unleash Networks - to demonstrate the power of the Unsniff Scripting API and to get you motivated to write your own tools.

Traffic Monitor is a tool that displays the traffic pattern seen by Unsniff over the duration of the capture. You can view the traffic load, periods of silence, spikes, and recurring patterns. This utility is written in the Ruby scripting language, using the Fox-Ruby GUI toolkit, and the free UnleashCharts charting library.  

Traffic Monitor Image

Download

How to run 

  1. Download the tool (trafmon.rb) to a folder on your computer
  2. Download UnleashCharts.rb charting library
  3. Execute the script on a capture file

Usage:

trafmon <capture-file-name>

capture-file-name : Capture file in Unsniff (*.usnf) format 

Example:

c:\RubyTest> trafmon  LargeCapture.usnf