CDEF:zusammen=maxaus_1,maxaus_2,+

VDEF:last_zusammen=zusammen,LAST

 

VDEF is not very flexible; it reduces a timeseries to a scalar.  CDEF works
on timeseries to give a timeseries.  So the above creates a new timeseries
‘zusammen’ using a CDEF then uses a VDEF to convert it to a scalar (IE,
the ‘LAST’ operation)

 

Steve

 

  _____  

Steve Shipway

ITS Unix Services Design Lead

University of Auckland, New Zealand

Floor 1, 58 Symonds Street, Auckland

Phone: +64 (0)9 3737599 ext 86487

DDI: +64 (0)9 923 6487

Mobile: +64 (0)21 753 189

Email:  <mailto:s.ship...@auckland.ac.nz> s.ship...@auckland.ac.nz

P Please consider the environment before printing this e-mail : 打印本邮件,
将减少一棵树存活的机会

 

From: rrd-users-bounces+s.shipway=auckland.ac...@lists.oetiker.ch
[mailto:rrd-users-bounces+s.shipway=auckland.ac...@lists.oetiker.ch] On
Behalf Of Mathias Betschart
Sent: Friday, 28 June 2013 12:17 a.m.
To: rrd-users@lists.oetiker.ch
Subject: [rrd-users] Total of two LAST results

 

Hi,

how is it possible to add two LAST results and show in GPRINT?

I try with:
VDEF:last_1=maxaus_1,LAST \
VDEF:last_2=maxaus_2,LAST \
VDEF:last_zusammen=maxaus_1,maxaus_2,+ \

last_1 show  "25.03"

last_2 show "3"

last_zusammen show "25,21"

Thanks for an answer

Mat

 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________
rrd-users mailing list
rrd-users@lists.oetiker.ch
https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users

Reply via email to