« rrd_fetch
rrd_graph »

rrd_first

(PECL rrd >= 0.9.0)

rrd_first — Gets the timestamp of the first sample from rrd file

説明

function 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 を返します.

関連キーワード:
first   timestamp   sample   Gets   raaindex   number   fetch   graph   specified   database   index   examined   Default   Integer   unix
関連する関数・ページ:
ds-set.first   ref.rrd   function.rrd-last   ds-map.first   function.array-first   ds-vector.first