« syslog
简介 »
PHP Manual
其它服务
RRDtool
RRDtool
简介
安装/配置
需求
安装
运行时配置
资源类型
预定义常量
范例
Procedural PECL/rrd example
OOP PECL/rrd example
RRD 函数
rrd_create
— 创建 rrd 数据库文件
rrd_error
— 获取最新的错误信息
rrd_fetch
— 获取图表数据数组
rrd_first
— 从 rrd 文件中获取第一个样本的时间戳
rrd_graph
— 从数据创建图像
rrd_info
— 获取 rrd 文件有关信息
rrd_last
— Gets unix timestamp of the last sample
rrd_lastupdate
— Gets information about last updated data
rrd_restore
— Restores the RRD file from XML dump
rrd_tune
— Tunes some RRD database file header options
rrd_update
— Updates the RRD database
rrd_version
— Gets information about underlying rrdtool library
rrd_xport
— Exports the information about RRD database
rrdc_disconnect
— Close any outstanding connection to rrd caching daemon
RRDCreator
— The RRDCreator class
RRDCreator::addArchive
— Adds RRA - archive of data values for each data source
RRDCreator::addDataSource
— Adds data source definition for RRD database
RRDCreator::__construct
— Creates new RRDCreator instance
RRDCreator::save
— Saves the RRD database to a file
RRDGraph
— The RRDGraph class
RRDGraph::__construct
— Creates new RRDGraph instance
RRDGraph::save
— Saves the result of query into image
RRDGraph::saveVerbose
— Saves the RRD database query into image and returns the verbose information about generated graph
RRDGraph::setOptions
— Sets the options for rrd graph export
RRDUpdater
— The RRDUpdater class
RRDUpdater::__construct
— Creates new RRDUpdater instance
RRDUpdater::update
— Update the RRD database file