Gets unix timestamp of the last sample.


(PECL rrd >= 0.9.0)

rrd_lastGets unix timestamp of the last sample.

Описание

int rrd_last ( string $filename )

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.