You can also use mesure(1)

   http://news.nopcode.org/miau/pvc.cgi?dist=mesure

On Tue, Jun 19, 2007 at 03:49:16PM +0200, Robert Manea wrote:
> * Alexandre Boily ([EMAIL PROTECTED]) wrote:
> > Some days ago I hacked a ruby script to monitor my network connection. By a
> > happy coincidence, I happen to use the same characters.
> 
> Hehe, nice.
> 
> > RXFILE = "/sys/class/net/#{INTERFACE}/statistics/rx_bytes"
> > TXFILE = "/sys/class/net/#{INTERFACE}/statistics/tx_bytes"
> 
> Thanks for that one :).
> 
> Bye, Rob.
> 

Reply via email to