Graphing Local Interface traffic.

Post general support questions here that do not specifically fall into the Linux or Windows categories.

Moderators: Developers, Moderators

Post Reply
GrandMasterLee
Posts: 17
Joined: Tue Jul 23, 2002 5:53 pm
Contact:

Graphing Local Interface traffic.

Post by GrandMasterLee »

Is there a way to graph local interface traffic of a system without using SNMP? (i.e. using ifconfig output) Id' really appreciate it. The data I've collected so far is just incremental, and just bytes. (i.e. RX bytes/TX bytes)

Any ideas on that would be helpful, I'm trying to write a script to give me what I need.

My OS is Linux.
--The GrandMaster
raX
Lead Developer
Posts: 2243
Joined: Sat Oct 13, 2001 7:00 pm
Location: Carlisle, PA
Contact:

Post by raX »

Althought probably more complex than you are looking for, both of these projects offer this functionality:

http://panic.eu.org/linux/cban/

http://ifmonitor.preteritoimperfeito.com/

The first one looks like it comes with a command line tool to do just what you are looking for. On the other hand, it would probably be much easier to just write a perl script to parse the output of ifconfig.

-Ian
Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests