If you are looking for download speed, your approach will probably work. If you want bandwidth stats, use MRTG.
 
http://people.ee.ethz.ch/~oetiker/webtools/mrtg/
 
It's already written. It's customizable. It's perl. It does an snmp get (defaults to the interface usage but can read any snmp object) every five minutes and makes a slick daily graph. Then it aggregates the data to make weekly, monthly and yearly graphs.
 
 
 
-----Original Message-----
From: Eric Logeson [mailto:[EMAIL PROTECTED]
Sent: Tuesday, May 24, 2005 11:28 AM
To: [email protected]
Subject: Measure bandwidth

Hello List
 
I wanted to get some basic bandwidth statistics across a WAN link.  The approach I think I am going to take is the following:
Use a perl scipt to read in a bunch of files, determine the sizes, start a timer (not sure how to do this yet), copy the files across the link (winxp->win2003 server), stop the timer,
and finally write out the bytes/sec metric to a log file.  I planned on scheduling the perl script to run every hour or so for a week.
 
Are there modules of interest for this project.  Any suggestions on the approach?
 
 
Thanks
Eric

 


This message was scanned by ATX
12:12:42 PM ET - 5/24/2005
_______________________________________________
Perl-Win32-Users mailing list
[email protected]
To unsubscribe: http://listserv.ActiveState.com/mailman/mysubs

Reply via email to