You are here

rrd

rrdtool lastupdate

A variety of tools use RRD databases which are ideal for recording a sequence of values over time. So one interesting question is when the last time the rrd file was updated - rrdtool's lastupdate mode will tell you.

$ rrdtool lastupdate probe302Value_probe302Value.rrd
1334603585: 190.0

The most recent value in the RRD is 190.0 recorded at 1334603585

The value of the time is a UTC timestamp. Converting this value to a readable date/time can be performed using the UN*X date command.

Theme by Danetsoft and Danang Probo Sayekti inspired by Maksimer