Beefy Boxes and Bandwidth Generously Provided by pair Networks
Pathologically Eclectic Rubbish Lister
 
PerlMonks  

Re: How to monitor internet speed in real time?

by matija (Priest)
on Oct 05, 2004 at 12:01 UTC ( [id://396551]=note: print w/replies, xml ) Need Help??


in reply to How to monitor internet speed in real time?

What is "internet speed" to you? Is it derived as
    distance_flown_by_the_internet
---------------------------------------
time_when_it_lands-time_when_I_threw_it
Or is it the speed of data through your internet interface? If the later, I use the following script as an input to MRTG graph:
open(INP,"</proc/net/dev") || die "Can not open /proc/net/dev: $!"; while (<INP>) { s/eth0:(\d)/eth0: $1/; @a=split; print "$a[1]\n$a[9]\n" if ($a[0]=~s/eth0://); }
This, of course, is highly system dependent...

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://396551]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others pondering the Monastery: (2)
As of 2024-04-16 23:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found