[rrd-users] Re: I need help to calculate % of max bandwidth !!!

Iain Buchanan iain at pcorp.com.au
Wed Apr 17 05:45:49 MEST 2002

You could do it this way.  If anyone has a better way, please say so!

1. Draw the running % 'blind' so it doesn't show a line on the graph
2. GPRINT this value

You will of course have to choose from the min, max or average percent
values.  eg (ave):

(this is your data source)

(this is the percent, assuming your max bandwidth is a 56k modem)

(note no colour is specified so the drawing is done 'blind')

(now print the average of the percent of maximum bandwidth!)

----- Original Message -----
From: "Flemming Christensen" <fc at dsidata.dk>
To: "Rrd-Users (E-mail)" <rrd-users at list.ee.ethz.ch>
Sent: Thursday, April 11, 2002 6:53 PM
Subject: [rrd-users] I need help to calculate % of max bandwidth !!!

> I'm using GPRINT to show max, min, average and last data.
> How can I calculate a percentage of total bandwidth like MRTG do ?
> Med venlig hilsen
> Flemming Christensen
> Chefkonsulent
> Kokkedal Industripark 2 | 2980 Kokkedal
> Tel. +45 4918 4918 | Fax +45 4918 4944
>      www.dsidata.dk | fc at dsidata.dk

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