On Thu, Oct 05, 2000 at 09:01:28PM +0200, Ciprian Niculescu wrote:
> stiu asta, folosesc mrtg, dar el nu arata banda libera, el spune ce trafic
> este acum
> 
> ok, eu vreau ceva care sa fie ca acest lucru
> http://computingcentral.msn.com/topics/bandwidth/speedtest.asp
> 
> dar sa fie cron-abila

pai ce mare rahat? explica chiar pe pagina aia cum fac ei:

When either of these pages loads, it notes the time just before and just
after the data file loads, then uses this information and the size of the
data file to calculate the rate at which the data arrived at your computer.


deci, faci ceva d4e genul

get time1
wget some_url
get time2
compute diff between time1 and time2, divide with page size


-- 
        ___
       <o-o>    Viorel ANGHEL <[EMAIL PROTECTED]>
       [`-']    
       -"-"-    In Linux We Trust.

---
Send e-mail to '[EMAIL PROTECTED]' with 'unsubscribe rlug' to 
unsubscribe from this list.

Raspunde prin e-mail lui