Code

control: Updated standards-version to 3.9.5 -- no changes.
[pkg-rrdtool.git] / doc / rrdgraph_rpn.html
index 2f21e06696bd4d9c659c73c82b39d0e712816a09..35097c81201b2fdd77a6d145d082d61cd97a67a3 100644 (file)
@@ -83,7 +83,8 @@ would do <code>a = b, 3, +, 5, *</code> without the need for parentheses.</p>
 <p><strong>LT, LE, GT, GE, EQ, NE</strong></p>
 <p>Pop two elements from the stack, compare them for the selected condition
 and return 1 for true or 0 for false. Comparing an <em>unknown</em> or an
-<em>infinite</em> value will always result in 0 (false).</p>
+<em>infinite</em> value will result in <em>unknown</em> returned ... which will also be
+treated as false by the <strong>IF</strong> call.</p>
 <p><strong>UN, ISINF</strong></p>
 <p>Pop one element from the stack, compare this to <em>unknown</em> respectively
 to <em>positive or negative infinity</em>. Returns 1 for true or 0 for false.</p>
@@ -238,7 +239,7 @@ This also shows if the prediction is exceeded at a certain point.</p>
  CDEF:exceeds=value,UN,0,value,lower,upper,LIMIT,UN,IF \
  TICK:exceeds#aa000080:1</p>
 <p>Note: Experience has shown that a factor between 3 and 5 to scale sigma is a good 
-discriminator to detect abnormal behaviour. This obviously depends also on the type 
+discriminator to detect abnormal behavior. This obviously depends also on the type 
 of data and how &quot;noisy&quot; the data series is.</p>
 <p>This prediction can only be used for short term extrapolations - say a few days into the future-</p>
 </dd>
@@ -313,16 +314,15 @@ the first occurrence of that value in the time component.</p>
 <dt><strong><a name="last_first" class="item">LAST, FIRST</a></strong></dt>
 
 <dd>
-<p>Return the last/first value including its time.  The time for
-FIRST is actually the start of the corresponding interval, whereas
-LAST returns the end of the corresponding interval.</p>
+<p>Return the last/first non-nan or infinite value for the selected data
+stream, including its timestamp.</p>
 <p>Example: <code>VDEF:first=mydata,FIRST</code></p>
 </dd>
 <dt><strong><a name="total" class="item">TOTAL</a></strong></dt>
 
 <dd>
 <p>Returns the rate from each defined time slot multiplied with the
-step size.  This can, for instance, return total bytes transfered
+step size.  This can, for instance, return total bytes transferred
 when you have logged bytes per second. The time component returns
 the number of seconds.</p>
 <p>Example: <code>VDEF:total=mydata,TOTAL</code></p>