1 <?xml version='1.0' encoding='EUC-KR' ?>
2 <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd">
3 <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?>
4 <!-- English Revision: 105711 (outdated: 105989) -->
7 Copyright 2004 The Apache Software Foundation
9 Licensed under the Apache License, Version 2.0 (the "License");
10 you may not use this file except in compliance with the License.
11 You may obtain a copy of the License at
13 http://www.apache.org/licenses/LICENSE-2.0
15 Unless required by applicable law or agreed to in writing, software
16 distributed under the License is distributed on an "AS IS" BASIS,
17 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
18 See the License for the specific language governing permissions and
19 limitations under the License.
22 <manualpage metafile="htcacheclean.xml.meta">
23 <parentdocument href="./">Programs</parentdocument>
25 <title>htcacheclean - µð½ºÅ© ij½¬¸¦ û¼ÒÇÑ´Ù</title>
28 <p><code>htcacheclean</code>Àº <module>mod_disk_cache</module>°¡
29 »ç¿ëÇÏ´Â ÀúÀå¼Ò ¿ë·®À» ÀÏÁ¤ Çѵµ·Î À¯ÁöÇÑ´Ù. ÀÌ µµ±¸´Â Á÷Á¢
30 ½ÇÇàÇϰųª µ¥¸ó(daemon)À¸·Î ½ÇÇàÇÒ ¼ö ÀÖ´Ù. ÇÁ·Î±×·¥À» µ¥¸óÀ¸·Î
31 ½ÇÇàÇÏ¸é ¹é±×¶ó¿îµå¿¡¼ ÀáÀÚ°í ÀÖ´Ù°¡ ÀÏÁ¤ ÁÖ±â·Î ij½¬
32 µð·ºÅ丮¿¡¼ Áö¿ï °ÍÀÌ ÀÖ´ÂÁö °Ë»çÇÑ´Ù. µ¥¸ó¿¡°Ô TERMÀ̳ª
33 INT ½Ã±×³ÎÀ» º¸³»¸é ¾ÈÀüÇÏ°Ô Á¾·áÇÑ´Ù.</p>
35 <seealso><module>mod_disk_cache</module></seealso>
37 <section id="synopsis"><title>°³¿ä</title>
38 <p><code><strong>htcacheclean</strong>
39 [ -<strong>D</strong> ]
40 [ -<strong>v</strong> ]
41 [ -<strong>r</strong> ]
42 [ -<strong>n</strong> ]
43 -<strong>p</strong><var>path</var>
44 -<strong>l</strong><var>limit</var></code></p>
46 <p><code><strong>htcacheclean</strong> -<strong>b</strong>
47 [ -<strong>n</strong> ]
48 [ -<strong>i</strong> ]
49 -<strong>d</strong><var>interval</var>
50 -<strong>p</strong><var>path</var>
51 -<strong>l</strong><var>limit</var></code></p>
54 <section id="options"><title>¿É¼Ç</title>
56 <dt><code>-d<var>interval</var></code></dt>
57 <dd>µ¥¸óÀ¸·Î ½ÇÇàÇÏ¿© <var>interval</var> ºÐ¸¶´Ù ij½¬¸¦
58 û¼ÒÇÑ´Ù. ÀÌ ¿É¼ÇÀº <code>-D</code>, <code>-v</code>,
59 <code>-r</code> ¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù. µ¥¸óÀ» ¾ÈÀüÇÏ°Ô
60 Á¾·áÇÏ·Á¸é µ¥¸ó¿¡°Ô <code>SIGTERM</code> ȤÀº
61 <code>SIGINT</code> ½Ã±×³ÎÀ» º¸³»¸é µÈ´Ù.</dd>
63 <dt><code>-D</code></dt>
64 <dd>°Ë»ç¸¸ ÇÏ°í ½ÇÁ¦ ¾Æ¹«°Íµµ Áö¿ìÁö ¾Ê´Â´Ù. ÀÌ ¿É¼ÇÀº
65 <code>-d</code> ¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.</dd>
67 <dt><code>-v</code></dt>
68 <dd>ÀÚ¼¼ÇÑ Åë°è¸¦ Ãâ·ÂÇÑ´Ù. ÀÌ ¿É¼ÇÀº <code>-d</code> ¿É¼Ç°ú
69 ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.</dd>
71 <dt><code>-r</code></dt>
72 <dd>¿ÏÀüÈ÷ û¼ÒÇÑ´Ù. ¾ÆÆÄÄ¡ À¥¼¹ö°¡ µ¿ÀÛÇÏÁö ¾Ê´Â´Ù°í °¡Á¤ÇÑ´Ù
73 (¸¸¾à µ¿ÀÛÇÑ´Ù¸é ij½¬¿¡ ÀÌ»óÇÑ °ªÀÌ ÀúÀåµÈ´Ù). ÀÌ ¿É¼ÇÀº
74 <code>-d</code> ¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.</dd>
76 <dt><code>-n</code></dt>
77 <dd>Ä£ÀýÇÏ°Ô(nice) µ¿ÀÛÇÑ´Ù. ´Ù¸¥ ÇÁ·Î¼¼½º¸¦ À§ÇØ ´À¸®°Ô
78 µ¿ÀÛÇÑ´Ù. <code>htcacheclean</code>°¡ ÀÚÁÖ ÀáÀ» ÀڰԵǿ©
79 (1) µð½ºÅ© ÀÔÃâ·ÂÀÌ Áö¿¬µÇ°í (2) ±×µ¿¾È Ä¿³ÎÀº ´Ù¸¥ ÇÁ·Î¼¼½º¸¦
80 ½ºÄÉÁÙÇÒ ¼ö ÀÖ´Ù.</dd>
82 <dt><code>-p<var>path</var></code></dt>
83 <dd><var>path</var>¸¦ µð½ºÅ© ij½¬ÀÇ ÃÖ»óÀ§ µð·ºÅ丮·Î ÁöÁ¤ÇÑ´Ù.
84 <directive module="mod_disk_cache">CacheRoot</directive>
85 Áö½Ã¾î¿¡ »ç¿ëÇÑ °ª°ú µ¿ÀÏÇÑ °ªÀ» »ç¿ëÇØ¾ß ÇÑ´Ù.</dd>
87 <dt><code>-l<var>limit</var></code></dt>
88 <dd>Àüü µð½ºÅ© ij½¬ ¿ë·® Á¦ÇÑÀ» <var>limit</var>·Î Á¦ÇÑÇÑ´Ù.
89 °ªÀº ±âº»ÀûÀ¸·Î (ȤÀº ¼ýÀÚ¿¡ <code>B</code>¸¦ ºÙÀ̸é) ¹ÙÀÌÆ®
90 ´ÜÀ§ÀÌ´Ù. ų·Î¹ÙÀÌÆ®´Â <code>K</code>¸¦, ¸Þ°¡¹ÙÀÌÆ®´Â
91 <code>M</code>À» µÚ¿¡ ºÙÀδÙ.</dd>
93 <dt><code>-i</code></dt>
94 <dd>Áö´ÉÀûÀ¸·Î µð½ºÅ© ij½¬°¡ º¯°æµÈ °æ¿ì¿¡¸¸ µ¿ÀÛÇÑ´Ù. ÀÌ
95 ¿É¼ÇÀº <code>-d</code> ¿É¼Ç°ú ÇÔ²²¸¸ »ç¿ëÇÒ ¼ö ÀÖ´Ù.</dd>
99 <section id="exit"><title>Á¾·áÄÚµå</title>
100 <p><code>htcacheclean</code>´Â ¸ðµç ÀÛ¾÷ÀÌ ¼º°øÇÑ °æ¿ì¿¡
101 ("Âü") Á¾·áÄÚµå 0À» ¹ÝȯÇÏ°í, ½ÇÆÐÇÑ °æ¿ì¿¡´Â <code>1</code>À»