RRD 函数
在线手册:中文  英文

rrd_first

(PECL rrd >= 0.9.0)

rrd_firstGets the timestamp of the first sample from rrd file.

说明

int rrd_first ( string $file [, int $raaindex = 0 ] )

Returns the first data sample from the specified RRA of the RRD file.

参数

file

RRD database file name.

raaindex

The index number of the RRA that is to be examined. Default value is 0.

返回值

Integer number of unix timestamp, FALSE if some error occurs.


RRD 函数
在线手册:中文  英文
易百教程