RRD 函数
PHP 手册

rrd_last

(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.


RRD 函数
PHP 手册