LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   amount of network transfer (https://www.linuxquestions.org/questions/linux-networking-3/amount-of-network-transfer-410693/)

arsham 02-01-2006 11:18 PM

amount of network transfer
 
Hi there

Is it possible to gain the amount of internet usage from an exact date till now?
Are there any files that stores this informations?

I did #cat /proc/net/dev and it shows me the total amount , but I don't know how it resets?
because since I have installed nta till last night , I had almost 1.4 Gb download that showed in /proc/net/dev , but last night I saw that this amount is almost 0.3 Gb

Any ideas how this amount resets?

Regards
ArShAm

unSpawn 02-02-2006 10:06 AM

Short story the rollover happens at aprox 4.2GB (32-bit unsigned short). If you want "simple" monitoring search for Vnstat and if you want elaborate stats search for MRTG. I wonder if 2.6.x does have 64-bit unsigned longs by now.

arsham 02-02-2006 12:23 PM

Thanks for reply

It seems that everytime I restart the computer , /proc/net/dev rolls over

arsham 02-02-2006 02:13 PM

I found Munin
For those who wants to get reports as graph , maybe munin and munin-node will be usefull
The packages in debian are available via debian's official repository


All times are GMT -5. The time now is 05:04 PM.