mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-17 21:16:57 +08:00
57 lines
1.7 KiB
HTML
57 lines
1.7 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
|
<html>
|
|
<head>
|
|
<meta http-equiv="content-type" content="text/html; charset=UTF-8">
|
|
<title>Gets information about last updated data</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.rrd-lastupdate" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">rrd_lastupdate</h1>
|
|
<p class="verinfo">(PECL rrd >= 0.9.0)</p><p class="refpurpose"><span class="refname">rrd_lastupdate</span> — <span class="dc-title">Gets information about last updated data</span></p>
|
|
|
|
</div>
|
|
|
|
<div class="refsect1 description" id="refsect1-function.rrd-lastupdate-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>rrd_lastupdate</strong></span>
|
|
( <span class="methodparam"><span class="type">string</span> <code class="parameter">$filename</code></span>
|
|
) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Gets array of the UNIX timestamp and the values stored for each date in the
|
|
most recent update of the RRD database file.
|
|
</p>
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 parameters" id="refsect1-function.rrd-lastupdate-parameters">
|
|
<h3 class="title">参数</h3>
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">file</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
RRD database file name.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</div>
|
|
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.rrd-lastupdate-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Array of information about last update, <strong><code>FALSE</code></strong> when error occurs.
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |