rrd_last

(PECL rrd >= 0.9.0)

rrd_lastGets unix timestamp of the last sample

説明

rrd_last ( string $filename ) : int

Returns the UNIX timestamp of the most recent update of the RRD database.

パラメータ

filename

RRD database file name.

返り値

Integer as unix timestamp of the most recent data from the RRD database.