mirror of
https://github.com/fofolee/uTools-Manuals.git
synced 2025-06-18 05:26:57 +08:00
136 lines
2.9 KiB
HTML
136 lines
2.9 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>Stat memory utilization</title>
|
|
</head>
|
|
<body class="docs"><div id="layout">
|
|
<div id="layout-content"><div id="function.win32-ps-stat-mem" class="refentry">
|
|
<div class="refnamediv">
|
|
<h1 class="refname">win32_ps_stat_mem</h1>
|
|
<p class="verinfo">(PECL win32ps >= 1.0.1)</p><p class="refpurpose"><span class="refname">win32_ps_stat_mem</span> — <span class="dc-title">Stat memory utilization</span></p>
|
|
|
|
</div>
|
|
<div class="refsect1 description" id="refsect1-function.win32-ps-stat-mem-description">
|
|
<h3 class="title">说明</h3>
|
|
<div class="methodsynopsis dc-description">
|
|
<span class="methodname"><strong>win32_ps_stat_mem</strong></span>
|
|
( <span class="methodparam">void</span>
|
|
) : <span class="type">array</span></div>
|
|
|
|
<p class="para rdfs-comment">
|
|
Retrieves statistics about the global memory utilization.
|
|
</p>
|
|
</div>
|
|
|
|
<div class="refsect1 returnvalues" id="refsect1-function.win32-ps-stat-mem-returnvalues">
|
|
<h3 class="title">返回值</h3>
|
|
<p class="para">
|
|
Returns <strong><code>FALSE</code></strong> on failure, or an array consisting of the
|
|
following information on success:
|
|
</p>
|
|
<p class="para">
|
|
<dl>
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">load</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The current memory load in percent of physical memory.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">unit</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
This is always 1024, and indicates that the following values are the count of 1024 bytes.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">total_phys</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The amount of total physical memory.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">avail_phys</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The amount of still available physical memory.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">total_pagefile</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The amount of total pageable memory (physical memory + paging file).
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">avail_pagefile</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The amount of still available pageable memory (physical memory + paging file).
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">total_virtual</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The amount of total virtual memory for a process.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
|
|
<dt>
|
|
<code class="parameter">avail_virtual</code></dt>
|
|
|
|
<dd>
|
|
|
|
<p class="para">
|
|
The amount of still available virtual memory for a process.
|
|
</p>
|
|
</dd>
|
|
|
|
|
|
</dl>
|
|
|
|
</p>
|
|
</div>
|
|
|
|
</div></div></div></body></html> |