<?php
include_once $_SERVER['DOCUMENT_ROOT'] . '/include/shared-manual.inc';
$TOC = array();
$TOC_DEPRECATED = array();
$PARENTS = array();
include_once dirname(__FILE__) ."/toc/ref.wincache.inc";
$setup = array (
  'home' => 
  array (
    0 => 'index.php',
    1 => 'PHP Manual',
  ),
  'head' => 
  array (
    0 => 'UTF-8',
    1 => 'it',
  ),
  'this' => 
  array (
    0 => 'function.wincache-scache-meminfo.php',
    1 => 'wincache_scache_meminfo',
    2 => 'Retrieves information about session cache memory usage',
  ),
  'up' => 
  array (
    0 => 'ref.wincache.php',
    1 => 'WinCache Funzioni',
  ),
  'prev' => 
  array (
    0 => 'function.wincache-scache-info.php',
    1 => 'wincache_scache_info',
  ),
  'next' => 
  array (
    0 => 'function.wincache-ucache-add.php',
    1 => 'wincache_ucache_add',
  ),
  'alternatives' => 
  array (
  ),
  'source' => 
  array (
    'lang' => 'en',
    'path' => 'reference/wincache/functions/wincache-scache-meminfo.xml',
  ),
  'history' => 
  array (
  ),
);
$setup["toc"] = $TOC;
$setup["toc_deprecated"] = $TOC_DEPRECATED;
$setup["parents"] = $PARENTS;
manual_setup($setup);

contributors($setup);

?>
<div id="function.wincache-scache-meminfo" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">wincache_scache_meminfo</h1>
  <p class="verinfo">(PECL wincache &gt;= 1.1.0)</p><p class="refpurpose"><span class="refname">wincache_scache_meminfo</span> &mdash; <span class="dc-title">
   Retrieves information about session cache memory usage
  </span></p>

 </div>
 <div class="refsect1 description" id="refsect1-function.wincache-scache-meminfo-description">
  <h3 class="title">Descrizione</h3>
  <div class="methodsynopsis dc-description">
   <span class="methodname"><strong>wincache_scache_meminfo</strong></span>(): <span class="type"><span class="type"><a href="language.types.array.php" class="type array">array</a></span>|<span class="type"><a href="language.types.singleton.php" class="type false">false</a></span></span></div>

  <p class="para rdfs-comment">
   Retrieves information about memory usage by session cache.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-function.wincache-scache-meminfo-parameters">
  <h3 class="title">Elenco dei parametri</h3>
  <p class="para">Questa funzione non contiene parametri.</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-function.wincache-scache-meminfo-returnvalues">
  <h3 class="title">Valori restituiti</h3>
  <p class="para">
   Array of meta data about session cache memory usage  o <strong><code><a href="reserved.constants.php#constant.false">false</a></code></strong> in caso di fallimento
  </p>
  <p class="para">
   The array returned by this function contains the following elements:
   <ul class="itemizedlist">
    <li class="listitem">
     <span class="simpara">
      <code class="literal">memory_total</code> - amount of memory in bytes allocated for the session cache
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">memory_free</code> - amount of free memory in bytes available for the session cache
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">num_used_blks</code> - number of memory blocks used by the session cache
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">num_free_blks</code> - number of free memory blocks available for the session cache
     </span>
    </li>
    <li class="listitem">
     <span class="simpara">
      <code class="literal">memory_overhead</code> - amount of memory in bytes used for the session cache internal structures
     </span>
    </li>
   </ul>
  </p>
 </div>


 <div class="refsect1 examples" id="refsect1-function.wincache-scache-meminfo-examples">
  <h3 class="title">Esempi</h3>
  <p class="para">
   <div class="example" id="example-1">
    <p><strong>Example #1 A <span class="function"><strong>wincache_scache_meminfo()</strong></span> example</strong></p>
    <div class="example-contents">
<div class="phpcode"><code><span style="color: #000000">&lt;pre&gt;<br /><span style="color: #0000BB">&lt;?php<br />print_r</span><span style="color: #007700">(</span><span style="color: #0000BB">wincache_scache_meminfo</span><span style="color: #007700">());<br /></span><span style="color: #0000BB">?&gt;<br /></span>&lt;/pre&gt;</span></code></div>
    </div>

    <div class="example-contents"><p>Il precedente esempio visualizzerà:</p></div>
    <div class="example-contents screen">
<div class="examplescode"><pre class="examplescode">Array 
( 
    [memory_total] =&gt; 5242880 
    [memory_free] =&gt; 5215056 
    [num_used_blks] =&gt; 6 
    [num_free_blks] =&gt; 3 
    [memory_overhead] =&gt; 176
)</pre>
</div>
    </div>
   </div>
  </p>
 </div>


 <div class="refsect1 seealso" id="refsect1-function.wincache-scache-meminfo-seealso">
  <h3 class="title">Vedere anche:</h3>
  <p class="para">
   <ul class="simplelist">
    <li><span class="function"><a href="function.wincache-fcache-fileinfo.php" class="function" rel="rdfs-seeAlso">wincache_fcache_fileinfo()</a> - Retrieves information about files cached in the file cache</span></li>
    <li><span class="function"><a href="function.wincache-fcache-meminfo.php" class="function" rel="rdfs-seeAlso">wincache_fcache_meminfo()</a> - Retrieves information about file cache memory usage</span></li>
    <li><span class="function"><a href="function.wincache-ocache-fileinfo.php" class="function" rel="rdfs-seeAlso">wincache_ocache_fileinfo()</a> - Retrieves information about files cached in the opcode cache</span></li>
    <li><span class="function"><a href="function.wincache-rplist-fileinfo.php" class="function" rel="rdfs-seeAlso">wincache_rplist_fileinfo()</a> - Retrieves information about resolve file path cache</span></li>
    <li><span class="function"><a href="function.wincache-rplist-meminfo.php" class="function" rel="rdfs-seeAlso">wincache_rplist_meminfo()</a> - Retrieves information about memory usage by the resolve file path cache</span></li>
    <li><span class="function"><a href="function.wincache-refresh-if-changed.php" class="function" rel="rdfs-seeAlso">wincache_refresh_if_changed()</a> - Refreshes the cache entries for the cached files</span></li>
    <li><span class="function"><a href="function.wincache-ucache-info.php" class="function" rel="rdfs-seeAlso">wincache_ucache_info()</a> - Retrieves information about data stored in the user cache</span></li>
    <li><span class="function"><a href="function.wincache-scache-info.php" class="function" rel="rdfs-seeAlso">wincache_scache_info()</a> - Retrieves information about files cached in the session cache</span></li>
   </ul>
  </p>
 </div>


</div><?php manual_footer($setup); ?>