rrd_fetch

(PECL rrd >= 0.9.0)

rrd_fetchFetch the data for graph as array

说明

rrd_fetch ( string $filename , array $options ) : array

Gets data for graph output from RRD database file as array. This function has same result as rrd_graph(), but fetched data are returned as array, no image file is created.

参数

filename

RRD database file name.

options

Array of options for resolution specification.

返回值

Returns information about retrieved graph data.

关注编程学问公众号