[rrd-users] Can I use binary AND or XOR in CDEF?
Marc MERLIN
marc_rrd at merlins.org
Fri Jul 16 16:42:56 CEST 2010
On Thu, Jul 15, 2010 at 11:04:40PM -0700, Marc MERLIN wrote:
> > I read:
> >
> > http://oss.oetiker.ch/rrdtool/tut/cdeftutorial.en.html
> >
> > but I couldn't find the list of allowed operators.
> >
> > I need binary AND and XOR, are they in the supported list?
>
> Marc, the list of operators is in the rrdgraph_rpn manpage or here:
>
> http://oss.oetiker.ch/rrdtool/doc/rrdgraph_rpn.en.html
Ah, thanks. It might be a good idea to add a link in the future, I totally
missed that there was an rpn page.
On the low side, no binary AND/XOR operators :(
I suppose I can emulate them somewhat with something like
x & 64 is equivalent to x 64 / floor 2 modulo
so I'm not dead in the water, but it's a bit disappointing.
Thanks,
Marc
--
"A mouse is a device used to point at the xterm you want to type in" - A.S.R.
Microsoft is to operating systems & security ....
.... what McDonalds is to gourmet cooking
Home page: http://marc.merlins.org/
More information about the rrd-users
mailing list