rrd_first

(PECL rrd >= 0.9.0)
Gets 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.

Parameters:
file

RRD database file name.

raaindex

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

Returns:

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

doc_php
2016-02-24 16:09:48
Comments
Leave a Comment

Please login to continue.