Hi,
bandwidth is the capacity for a given system to transfer data over a connection. It is measured as a bit rate expressed in in bits/s or multiples of it (kb/s Mb/s etc.).
Digital bandwidth should not be confused with the network throughput, which is the average rate of successful data transfer through a connection. It should also be distinguished from "data transfer", which is the quantity of data transferred over a given period of time. So if we calculate the throughput, that value will be divided by 60 i.e., it will be calculated per second.
For example,
Retrieve the "ifInOctets" and "ifOutOctets" every - lets say - 1 minute and divide the delta(!)-value through 60; this gets you a byte per second figure. In combination with "ifSpeed", you can convert this into a percentage value. Of course, this method is not intended for highly accurate and/or real-time measurement, but at least it should work for any SNMP-compilant device
supporting the IF-MIB.
------------------------------------------------------------------
For half-duplex media, use the following formula,
(delta!ifInOctects + delta!ifOutOctets) x 8 x 100
----------------------------------------------------
(number of seconds in delta!) x ifSpeed
For full-duplex, use the following formula,
(delta!ifInOctects + delta!ifOutOctets) x 8 x 100
----------------------------------------------------
(number of seconds in delta!) x ifSpeed
Bandwidth:
It calculates the difference between two values.
The bandwidth utilization is the ratio of the sum of difference in ifInOctets and ifOutOctets to that of the ifSpeed.
The formula for calculating BandWidth utilization is,
BandWidth util = ( ( ( diff in ifInOctets) + ( diff in ifOutOctets ) )* 8 * 100 ) / ( ( diff in Time) * ifSpeed )
Please refer this below link for getting more information.
http://everything2.com/index.pl?node_id=871448http://en.wikipedia.org/wiki/Bandwidth_%28computing%29Throughput is proportional to bandwidth and not as the same.
Regards,
K.Prathika
Regards,
K.Prathika