[rrd-users] Re: rrdgraph display

Felipe Piccirilo piccirilo at gruponet.com.br
Tue Nov 25 15:36:12 MET 2003


hope I can help you...

	I calculate de bandwidth % with this:

 CDEF:media=realup,realdown,+            \	--> "media"    = IfInOctets + IfOutOctets
 CDEF:mediapup=realup,100,*,media,/      \	--> "realup"   = IfInOctets
 CDEF:mediapdown=realdown,100,*,media,/  \	--> "reladown" = IfOutOctets

 GPRINT:mediapup:AVERAGE:" Taxa média de uso para Upload          %2.2lf %%"\\c \
 GPRINT:mediapdown:AVERAGE:" Taxa média de uso para Download      %2.2lf %%"\\c \


	Works very well!

regards,

ps: forgive me about my poor english... :)

Felipe Piccirilo
Brazil - SP




On Mon, 24 Nov 2003 14:35:31 -0500
"Michael Earls" <Michael.Earls at cchmc.org> wrote:

> 
>  How can I display the % of instead of the bandwidth.  
> 
> Max In: 1228.7 kb/s (80.0%)
> 
> Thanks,
> 
> Michael
> 
> --
> 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

--
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