On Friday 25 March 2005 00:21, Harshal wrote:
any body using relieance rconnect to connect to net. i am running a debian box here, and i just got there 650 plan where you pay flat Rs.650 and get always on connection with 1Gb of download limit. the problem is how do i know how much have i downloaded?
Several tools for network stats. Google. ifconfig will give you the number of packets recieved /sent. Multiply by the mtu usually 1500 and u have the number of bytes sent /recieved since the interface went up.
rgds jtd
Harshal wrote:
any body using relieance rconnect to connect to net. i am running a debian box here, and i just got there 650 plan where you pay flat Rs.650 and get always on connection with 1Gb of download limit.
Several tools for network stats. Google. ifconfig will give you the number of packets recieved /sent. Multiply by the mtu usually 1500 and u have the number of bytes sent /recieved since the interface went up.
You could use the latest Webmin (www.webmin.com) control panel, which has the feature to log the bandwidth usage per ethernet or ppp device.
Alternatively you will find tons of shell scripts on www.sourceforge.net for this kind of stuff.
Worst case scenario, if you already have SQUID for sharing the net, you can simply plug in logging and write a simple perl script which scans through the requests and extracts the total. However there could be an error in the exactness of this calculation, because there could be multiple requests by the server to the external network, but not necessarily a response when the link was down.
Paul
rgds jtd
hi, thanks all. one more query, rconnect in FreeBSD or Fresbie? anyone knows? i am planning to install.
jtd wrote
ifconfig will give you the number of packets recieved /sent. Multiply by the mtu usually 1500 and u have the number of bytes sent /recieved since the interface went up.
I dont think that's what he wanted, you will lose the counter in ifconfig when you reboot the machine. But you are right the answer is available on google. Try "IP Accounting + Linux"
Regards, Keith Fernandez ------------------------- Reliance IDC DAKC Navi Mumbai 022-30374188 -------------------------- Disclaimer: This message is for the designated recipient only and may contain privileged, proprietary, or otherwise private information. If you have received it in error, please notify the sender immediately and delete the original. Any other use of the email by you is prohibited
Gnome has Network monitor applet?
sac - BSD ac for Linux... will give you
http://bwm-tools.pr.linuxrulz.org/
http://ibmonitor.sourceforge.net/
Setting them up is another topic ;-)
On Fri, 25 Mar 2005 09:16:37 +0500, sherlock@vsnl.com sherlock@vsnl.com wrote:
On Friday 25 March 2005 00:21, Harshal wrote:
any body using relieance rconnect to connect to net. i am running a debian box here, and i just got there 650 plan where you pay flat Rs.650 and get always on connection with 1Gb of download limit. the problem is how do i know how much have i downloaded?
Several tools for network stats. Google. ifconfig will give you the number of packets recieved /sent. Multiply by the mtu usually 1500 and u have the number of bytes sent /recieved since the interface went up.
rgds jtd
sherlock@vsnl.com sherlock@vsnl.com wrote:
ifconfig will give you the number of packets recieved /sent. Multiply by the mtu usually 1500 and u have the number of bytes sent /recieved since the interface went up.
why? ifconfig also gives bytes received/sent