Sophie

Sophie

distrib > Mageia > 4 > x86_64 > by-pkgid > f800694edefe91adea2624f711a41a2d > files > 6566

php-manual-en-5.5.7-1.mga4.noarch.rpm

<!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 process</title>

 </head>
 <body><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.win32-ps-stat-mem.html">win32_ps_stat_mem</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="book.win32service.html">win32service</a></div>
 <div class="up"><a href="ref.win32ps.html">win32ps Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div><hr /><div id="function.win32-ps-stat-proc" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">win32_ps_stat_proc</h1>
  <p class="verinfo">(PECL win32ps &gt;= 1.0.1)</p><p class="refpurpose"><span class="refname">win32_ps_stat_proc</span> &mdash; <span class="dc-title">Stat process</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.win32-ps-stat-proc-description">
  <h3 class="title">Description</h3>
  <div class="methodsynopsis dc-description">
   <span class="type">array</span> <span class="methodname"><strong>win32_ps_stat_proc</strong></span>
    ([ <span class="methodparam"><span class="type">int</span> <code class="parameter">$pid</code><span class="initializer"> = 0</span></span>
  ] )</div>

  <p class="para rdfs-comment">
   Retrieves statistics about the process with the process id <em><code class="parameter">pid</code></em>.
  </p>
 </div>

 <div class="refsect1 parameters" id="refsect1-function.win32-ps-stat-proc-parameters">
  <h3 class="title">Parameters</h3>
  <p class="para">
   <dl>

    <dt>

     <span class="term"><em><code class="parameter">pid</code></em></span>
     <dd>

      <p class="para">
       The process id of the process to stat.  If omitted, the id of the current process.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 returnvalues" id="refsect1-function.win32-ps-stat-proc-returnvalues">
  <h3 class="title">Return Values</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>

     <span class="term"><em><code class="parameter">pid</code></em></span>
     <dd>

      <p class="para">
       The process id.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">exe</code></em></span>
     <dd>

      <p class="para">
       The path to the executable image.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">mem</code></em></span>
     <dd>

      <p class="para">
       An array containing information about the following memory utilization indicators:
       <em><code class="parameter">page_fault_count</code></em>,
       <em><code class="parameter">peak_working_set_size</code></em>,
       <em><code class="parameter">working_set_size</code></em>,
       <em><code class="parameter">quota_peak_paged_pool_usage</code></em>,
       <em><code class="parameter">quota_paged_pool_usage</code></em>,
       <em><code class="parameter">quota_peak_non_paged_pool_usage</code></em>,
       <em><code class="parameter">quota_non_paged_pool_usage</code></em>,
       <em><code class="parameter">pagefile_usage</code></em> and
       <em><code class="parameter">peak_pagefile_usage</code></em>.
      </p>
     </dd>

    </dt>

    <dt>

     <span class="term"><em><code class="parameter">tms</code></em></span>
     <dd>

      <p class="para">
       An array containing information about the following CPU time utilization indicators:
       <em><code class="parameter">created</code></em>, <em><code class="parameter">kernel</code></em> and <em><code class="parameter">user</code></em>.
      </p>
     </dd>

    </dt>

   </dl>

  </p>
 </div>

 <div class="refsect1 seealso" id="refsect1-function.win32-ps-stat-proc-seealso">
  <h3 class="title">See Also</h3>
  <p class="para">
   <ul class="simplelist">
    <li class="member"> <span class="function"><a href="function.win32-ps-list-procs.html" class="function" rel="rdfs-seeAlso">win32_ps_list_procs()</a> - List running processes</span></li>
   </ul>
  </p>
 </div>

</div><hr /><div class="manualnavbar" style="text-align: center;">
 <div class="prev" style="text-align: left; float: left;"><a href="function.win32-ps-stat-mem.html">win32_ps_stat_mem</a></div>
 <div class="next" style="text-align: right; float: right;"><a href="book.win32service.html">win32service</a></div>
 <div class="up"><a href="ref.win32ps.html">win32ps Functions</a></div>
 <div class="home"><a href="index.html">PHP Manual</a></div>
</div></body></html>