[rrd-users] REPOST DUE TO FORMAT PROBLEM - Figuring out utilization

Clarence clhart at home.com
Fri Feb 2 05:20:52 MET 2001


I'm starting to realy confuse myself... Check this out,
and correct me if im going in the wrong direction...

Senerio:
    I collect input & output octets stats from a network
    device every half hour. I want to be able to show
    utilization from the same rrd database that I draw my
    normal line graphs from..  This is what I'm doing:

    for example:


              [ NETWORK DEVICE ]
data in octets:
 10:00am        10:30am            11:00am
34,000,000     900,000,000         200,000,000


< the above is how many octets flew by during the last
   half hour>

< i think rrdtool stores the above value by dividing it
   by 1800(1 half-hour)>

< if that is true that i should do the following in order
   to get the utilization as a percent for InOctets>


34,000,000 --> should be stored as 18888.88  i.e 34,000,000/1800
10,000,000 --> should equal 10mb interface speed

OK now:
 = ((1800*18888.88)  /  (( 10,000,000  /  8 ) * 1800 )  *  100
 = (  33,999,984     /   ( 1,250,000  * 1800  ))   *  100

1.51%  = ( 33,999,984   /  2,251,440,000 )    *    100

39.97% = ( 900,000,000  /  2,251,440,000)    *   100

8.88%  = ( 200,000,000  /  2,251,440,000)  *  100



Does the above look correct... or am I totally off base??


CoolC






--
Unsubscribe mailto:rrd-users-request at list.ee.ethz.ch?subject=unsubscribe
Help        mailto:rrd-users-request at list.ee.ethz.ch?subject=help
Archive     http://www.ee.ethz.ch/~slist/rrd-users
WebAdmin    http://www.ee.ethz.ch/~slist/lsg2.cgi



More information about the rrd-users mailing list