💎一站式轻松地调用各大LLM模型接口,支持GPT4、智谱、星火、月之暗面及文生图 广告
PECL / rrd扩展提供了对RRDtool C库的绑定。RRDtool是用于时间序列数据的开源行业标准,高性能数据记录和图形系统。 [https://pecl.php.net/package/rrd](https://pecl.php.net/package/rrd). * [RRD功能](https://www.php.net/manual/en/ref.rrd.php) * [rrd\_create](https://www.php.net/manual/en/function.rrd-create.php)—创建rrd数据库文件 * [rrd\_error](https://www.php.net/manual/en/function.rrd-error.php)—获取最新的错误消息 * [rrd\_fetch](https://www.php.net/manual/en/function.rrd-fetch.php)—提取图形数据作为数组 * [rrd\_first](https://www.php.net/manual/en/function.rrd-first.php)—从rrd文件中获取第一个样本的时间戳 * [rrd\_graph](https://www.php.net/manual/en/function.rrd-graph.php)—从数据创建图像 * [rrd\_info](https://www.php.net/manual/en/function.rrd-info.php)—获取有关rrd文件的信息 * [rrd\_last](https://www.php.net/manual/en/function.rrd-last.php)—获取最后一个样本的Unix时间戳 * [rrd\_lastupdate](https://www.php.net/manual/en/function.rrd-lastupdate.php)—获取有关最近更新的数据的信息 * [rrd\_restore](https://www.php.net/manual/en/function.rrd-restore.php)—从XML转储恢复RRD文件 * [rrd\_tune](https://www.php.net/manual/en/function.rrd-tune.php)—调整一些RRD数据库文件头选项 * [rrd\_update](https://www.php.net/manual/en/function.rrd-update.php)—更新RRD数据库 * [rrd\_version](https://www.php.net/manual/en/function.rrd-version.php)—获取有关基础rrdtool库的信息 * [rrd\_xport](https://www.php.net/manual/en/function.rrd-xport.php)—导出有关RRD数据库的信息 * [rrdc\_disconnect](https://www.php.net/manual/en/function.rrdc-disconnect.php)—关闭与rrd缓存守护程序的所有未完成的连接 * [RRDCreator](https://www.php.net/manual/en/class.rrdcreator.php)— RRDCreator类 * [RRDCreator :: addArchive](https://www.php.net/manual/en/rrdcreator.addarchive.php)—添加[RRA-](https://www.php.net/manual/en/rrdcreator.addarchive.php)每个数据源的数据值存档 * [RRDCreator :: addDataSource](https://www.php.net/manual/en/rrdcreator.adddatasource.php)—为RRD数据库添加数据源定义 * [RRDCreator :: \_\_ construct](https://www.php.net/manual/en/rrdcreator.construct.php)—创建新的RRDCreator实例 * [RRDCreator :: save](https://www.php.net/manual/en/rrdcreator.save.php)—将RRD数据库保存到文件 * [RRDGraph](https://www.php.net/manual/en/class.rrdgraph.php)— RRDGraph类 * [RRDGraph :: \_\_ construct](https://www.php.net/manual/en/rrdgraph.construct.php)—创建新的RRDGraph实例 * [RRDGraph :: save](https://www.php.net/manual/en/rrdgraph.save.php)—将查询结果保存到图像中 * [RRDGraph :: saveVerbose](https://www.php.net/manual/en/rrdgraph.saveverbose.php)—将RRD数据库查询保存到图像中并返回有关所生成图形的详细信息 * [RRDGraph :: setOptions](https://www.php.net/manual/en/rrdgraph.setoptions.php)—设置rrd图导出的选项 * [RRDUpdater](https://www.php.net/manual/en/class.rrdupdater.php)— RRDUpdater类 * [RRDUpdater :: \_\_ construct](https://www.php.net/manual/en/rrdupdater.construct.php)—创建新的RRDUpdater实例 * [RRDUpdater :: update](https://www.php.net/manual/en/rrdupdater.update.php)—更新RRD数据库文件