home *** CD-ROM | disk | FTP | other *** search
/ Cricao de Sites - 650 Layouts Prontos / WebMasters.iso / Servidores / apache_2.2.8-win32-x86-no_ssl.msi / Data1.cab / _DC421561FA7D66129591C4DCD00E9311 < prev    next >
Extensible Markup Language  |  2007-09-01  |  7KB  |  120 lines

  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
  3. <html xmlns="http://www.w3.org/1999/xhtml" lang="en" xml:lang="en"><head><!--
  4.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  5.               This file is generated from xml source: DO NOT EDIT
  6.         XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
  7.       -->
  8. <title>htcacheclean - Clean up the disk cache - Apache HTTP Server</title>
  9. <link href="../style/css/manual.css" rel="stylesheet" media="all" type="text/css" title="Main stylesheet" />
  10. <link href="../style/css/manual-loose-100pc.css" rel="alternate stylesheet" media="all" type="text/css" title="No Sidebar - Default font size" />
  11. <link href="../style/css/manual-print.css" rel="stylesheet" media="print" type="text/css" />
  12. <link href="../images/favicon.ico" rel="shortcut icon" /></head>
  13. <body id="manual-page"><div id="page-header">
  14. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p>
  15. <p class="apache">Apache HTTP Server Version 2.2</p>
  16. <img alt="" src="../images/feather.gif" /></div>
  17. <div class="up"><a href="./"><img title="<-" alt="<-" src="../images/left.gif" /></a></div>
  18. <div id="path">
  19. <a href="http://www.apache.org/">Apache</a> > <a href="http://httpd.apache.org/">HTTP Server</a> > <a href="http://httpd.apache.org/docs/">Documentation</a> > <a href="../">Version 2.2</a> > <a href="./">Programs</a></div><div id="page-content"><div id="preamble"><h1>htcacheclean - Clean up the disk cache</h1>
  20. <div class="toplang">
  21. <p><span>Available Languages: </span><a href="../en/programs/htcacheclean.html" title="English"> en </a> |
  22. <a href="../ko/programs/htcacheclean.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  23. </div>
  24.  
  25.     <p><code>htcacheclean</code> is used to keep the size of
  26.     <code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code>'s storage within a certain limit. This
  27.     tool can run either manually or in daemon mode. When running in
  28.     daemon mode, it sleeps in the background and checks the cache directories
  29.     at regular intervals for cached content to be removed. You can stop the daemon
  30.     cleanly by sending it a TERM or INT signal.</p>
  31. </div>
  32. <div id="quickview"><ul id="toc"><li><img alt="" src="../images/down.gif" /> <a href="#synopsis">Synopsis</a></li>
  33. <li><img alt="" src="../images/down.gif" /> <a href="#options">Options</a></li>
  34. <li><img alt="" src="../images/down.gif" /> <a href="#exit">Exit Status</a></li>
  35. </ul><h3>See also</h3><ul class="seealso"><li><code class="module"><a href="../mod/mod_disk_cache.html">mod_disk_cache</a></code></li></ul></div>
  36. <div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  37. <div class="section">
  38. <h2><a name="synopsis" id="synopsis">Synopsis</a></h2>
  39.     <p><code><strong>htcacheclean</strong>
  40.     [ -<strong>D</strong> ]
  41.     [ -<strong>v</strong> ]
  42.     [ -<strong>t</strong> ]
  43.     [ -<strong>r</strong> ]
  44.     [ -<strong>n</strong> ]
  45.     -<strong>p</strong><var>path</var>
  46.     -<strong>l</strong><var>limit</var></code></p>
  47.  
  48.     <p><code><strong>htcacheclean</strong> -<strong>b</strong>
  49.     [ -<strong>n</strong> ]
  50.     [ -<strong>t</strong> ]
  51.     [ -<strong>i</strong> ]
  52.     -<strong>d</strong><var>interval</var>
  53.     -<strong>p</strong><var>path</var>
  54.     -<strong>l</strong><var>limit</var></code></p>
  55. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  56. <div class="section">
  57. <h2><a name="options" id="options">Options</a></h2>
  58.     <dl>
  59.     <dt><code>-d<var>interval</var></code></dt>
  60.     <dd>Daemonize and repeat cache cleaning every <var>interval</var> minutes.
  61.     This option is mutually exclusive with the <code>-D</code>, <code>-v</code>
  62.     and <code>-r</code> options. To shutdown the daemon cleanly, just send it
  63.     a <code>SIGTERM</code> or <code>SIGINT</code>.</dd>
  64.  
  65.     <dt><code>-D</code></dt>
  66.     <dd>Do a dry run and don't delete anything. This option is mutually
  67.     exclusive with the <code>-d</code> option.</dd>
  68.  
  69.     <dt><code>-v</code></dt>
  70.     <dd>Be verbose and print statistics. This option is mutually exclusive
  71.     with the <code>-d</code> option.</dd>
  72.  
  73.     <dt><code>-r</code></dt>
  74.     <dd>Clean thoroughly. This assumes that the Apache web server is
  75.     not running (otherwise you may get garbage in the cache). This option
  76.     is mutually exclusive with the <code>-d</code> option and implies
  77.     the <code>-t</code> option.</dd>
  78.  
  79.     <dt><code>-n</code></dt>
  80.     <dd>Be nice. This causes slower processing in favour of other
  81.     processes. <code>htcacheclean</code> will sleep from time to time
  82.     so that (a) the disk IO will be delayed and (b) the kernel can schedule
  83.     other processes in the meantime.</dd>
  84.  
  85.     <dt><code>-t</code></dt>
  86.     <dd>Delete all empty directories. By default only cache files are
  87.     removed, however with some configurations the large number of
  88.     directories created may require attention. If your configuration
  89.     requires a very large number of directories, to the point that
  90.     inode or file allocation table exhaustion may become an issue, use 
  91.     of this option is advised.</dd>
  92.  
  93.     <dt><code>-p<var>path</var></code></dt>
  94.     <dd>Specify <var>path</var> as the root directory of the disk cache. This
  95.     should be the same value as specified with the <code class="directive"><a href="../mod/mod_disk_cache.html#cacheroot">CacheRoot</a></code> directive.</dd>
  96.  
  97.     <dt><code>-l<var>limit</var></code></dt>
  98.     <dd>Specify <var>limit</var> as the total disk cache size limit. The value
  99.     is expressed in bytes by default (or attaching <code>B</code> to the
  100.     number). Attach <code>K</code> for Kbytes or <code>M</code> for
  101.     MBytes.</dd>
  102.  
  103.     <dt><code>-i</code></dt>
  104.     <dd>Be intelligent and run only when there was a modification of the disk
  105.     cache. This option is only possible together with the <code>-d</code>
  106.     option.</dd>
  107.     </dl>
  108. </div><div class="top"><a href="#page-header"><img alt="top" src="../images/up.gif" /></a></div>
  109. <div class="section">
  110. <h2><a name="exit" id="exit">Exit Status</a></h2>
  111.     <p><code>htcacheclean</code> returns a zero status ("true") if all
  112.     operations were successful, <code>1</code> otherwise.</p>
  113. </div></div>
  114. <div class="bottomlang">
  115. <p><span>Available Languages: </span><a href="../en/programs/htcacheclean.html" title="English"> en </a> |
  116. <a href="../ko/programs/htcacheclean.html" hreflang="ko" rel="alternate" title="Korean"> ko </a></p>
  117. </div><div id="footer">
  118. <p class="apache">Copyright 2007 The Apache Software Foundation.<br />Licensed under the <a href="http://www.apache.org/licenses/LICENSE-2.0">Apache License, Version 2.0</a>.</p>
  119. <p class="menu"><a href="../mod/">Modules</a> | <a href="../mod/directives.html">Directives</a> | <a href="../faq/">FAQ</a> | <a href="../glossary.html">Glossary</a> | <a href="../sitemap.html">Sitemap</a></p></div>
  120. </body></html>