rrd_update.php

来自「监控软件rrdtools」· PHP 代码 · 共 24 行

PHP
24
字号
<? ## the following line is only needed if built as a self-contained ## extension.  If you build the rrdtool module as an embedded ## extension, the rrd_* functions will always be available, so you ## do not need the dl() call. dl("rrdtool.so"); ## ## demonstration of the rrd_update() command ##  $ret = rrd_update("/some/file.rrd", "N:1245:98344");  if ( $ret == 0 )  {      $err = rrd_error();      echo "ERROR occurred: $err\n";  } /* else rrd_update() was successful */?>

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?