📄 rrd_last.php
字号:
<? ## 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_last() command ## $ret = rrd_last("/some/path/some-router-fe2.rrd"); if ( $ret != - 1 ) { printf("Last update time: %s\n", strftime("%m/%d/%Y %H:%M:%S"), $ret); } else { $err_msg = rrd_error(); echo "Error occurred: $err_msg\n"; }?>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -