rrd_first
PHP Manual
PHP Manual»RRD Funzioni»rrd_first

rrd_first

(PECL rrd >= 0.9.0)

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

Descrizione

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

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

Elenco dei parametri

file

RRD database file name.

raaindex

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

Valori restituiti

Integer number of unix timestamp, o false in caso di fallimento.

To Top