<div>It&#39;s a little different than what Sean was looking for.</div><div><br></div>last() returns just a timestamp. <div>lastupdate() returns a timestamp with all corresponding values.<br><br><div class="gmail_quote">On Mon, Feb 21, 2011 at 7:37 PM, Steve Shipway <span dir="ltr">&lt;<a href="mailto:s.shipway@auckland.ac.nz">s.shipway@auckland.ac.nz</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div lang="EN-NZ" link="blue" vlink="purple" style="word-wrap:break-word"><div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">$lastupdate = RRDs::last($rrd);</span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"><a href="http://oss.oetiker.ch/rrdtool/doc/rrdlast.en.html" target="_blank">http://oss.oetiker.ch/rrdtool/doc/rrdlast.en.html</a></span></p><p class="MsoNormal">

<span style="font-size:11.0pt;color:#1F497D"> </span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Doesn’t this work for you?</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p>

<p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D">Steve</span></p><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><div><div class="MsoNormal" align="center" style="text-align:center">

<span lang="EN-US" style="font-size:11.0pt;color:#1F497D"><hr size="2" width="100%" align="center"></span></div><p class="MsoNormal"><b><span style="font-size:11.0pt;color:#1F497D">Steve Shipway</span></b></p><p class="MsoNormal">

<span style="font-size:10.0pt;color:#1F497D">ITS Unix Services Design Lead</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">University of Auckland, New Zealand</span></p><p class="MsoNormal"><span style="font-size:10.0pt;color:#1F497D">Floor 1, 58 Symonds Street, Auckland</span></p>

<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">Phone: +64 (0)9 3737599 ext 86487</span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">DDI: +64 (0)9 924 6487</span></i></p>

<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">Mobile: +64 (0)21 753 189</span></i></p><p class="MsoNormal"><i><span style="font-size:10.0pt;color:#595959">Email: <a href="mailto:s.shipway@auckland.ac.nz" target="_blank"><span style="color:#595959">s.shipway@auckland.ac.nz</span></a></span></i></p>

<p class="MsoNormal"><span lang="EN-GB" style="font-size:18.0pt;font-family:Webdings;color:green">P</span><span lang="EN-GB" style="font-size:11.0pt;color:blue"> </span><span lang="EN-GB" style="font-size:10.0pt;color:green">Please consider the environment before printing this e-mail</span><span lang="EN-GB" style="font-size:11.0pt;color:blue"> </span><span lang="EN-GB" style="font-size:7.5pt;color:navy"></span></p>

<p class="MsoNormal"><i><span style="font-size:10.0pt;color:#1F497D"> </span></i></p></div><p class="MsoNormal"><span style="font-size:11.0pt;color:#1F497D"> </span></p><div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">

<div><div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm 0cm 0cm"><p class="MsoNormal"><b><span lang="EN-US" style="font-size:10.0pt">From:</span></b><span lang="EN-US" style="font-size:10.0pt"> rrd-users-bounces+s.shipway=<a href="http://auckland.ac.nz" target="_blank">auckland.ac.nz</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a> [mailto:<a href="mailto:rrd-users-bounces%2Bs.shipway" target="_blank">rrd-users-bounces+s.shipway</a>=<a href="http://auckland.ac.nz" target="_blank">auckland.ac.nz</a>@<a href="http://lists.oetiker.ch" target="_blank">lists.oetiker.ch</a>] <b>On Behalf Of </b>Sean Whitney<br>

<b>Sent:</b> Tuesday, 22 February 2011 8:29 a.m.<br><b>To:</b> <a href="mailto:rrd-users@lists.oetiker.ch" target="_blank">rrd-users@lists.oetiker.ch</a><br><b>Subject:</b> [rrd-users] perl and lastupdate</span></p></div>

</div><div class="im"><p class="MsoNormal"> </p><p class="MsoNormal">One of the things that bugs me is that lastupdate isn&#39;t available in the perl RRDs;</p><div><p class="MsoNormal"> </p></div></div></div></div></div>

<br>_______________________________________________<br>
rrd-users mailing list<br>
<a href="mailto:rrd-users@lists.oetiker.ch">rrd-users@lists.oetiker.ch</a><br>
<a href="https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users" target="_blank">https://lists.oetiker.ch/cgi-bin/listinfo/rrd-users</a><br>
<br></blockquote></div><br></div>