Php/docs/function.rrd-first

提供:Dev Guides
< Php
移動先:案内検索

rrd_first

(PECL rrd >= 0.9.0)

rrd_firstGets the timestamp of the first sample from rrd file


説明

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

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.