| <?xml version='1.0' encoding='EUC-KR' ?> |
| <!DOCTYPE manualpage SYSTEM "../style/manualpage.dtd"> |
| <?xml-stylesheet type="text/xsl" href="../style/manual.ko.xsl"?> |
| <!-- English Revision: 105711:1174747 (outdated) --> |
| |
| <!-- |
| Licensed to the Apache Software Foundation (ASF) under one or more |
| contributor license agreements. See the NOTICE file distributed with |
| this work for additional information regarding copyright ownership. |
| The ASF licenses this file to You under the Apache License, Version 2.0 |
| (the "License"); you may not use this file except in compliance with |
| the License. You may obtain a copy of the License at |
| |
| http://www.apache.org/licenses/LICENSE-2.0 |
| |
| Unless required by applicable law or agreed to in writing, software |
| distributed under the License is distributed on an "AS IS" BASIS, |
| WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| See the License for the specific language governing permissions and |
| limitations under the License. |
| --> |
| |
| <manualpage metafile="htcacheclean.xml.meta"> |
| <parentdocument href="./">Programs</parentdocument> |
| |
| <title>htcacheclean - µð½ºÅ© ij½¬¸¦ û¼ÒÇÑ´Ù</title> |
| |
| <summary> |
| <p><code>htcacheclean</code>Àº <module>mod_cache_disk</module>°¡ |
| »ç¿ëÇÏ´Â ÀúÀå¼Ò ¿ë·®À» ÀÏÁ¤ Çѵµ·Î À¯ÁöÇÑ´Ù. ÀÌ µµ±¸´Â Á÷Á¢ |
| ½ÇÇàÇϰųª µ¥¸ó(daemon)À¸·Î ½ÇÇàÇÒ ¼ö ÀÖ´Ù. ÇÁ·Î±×·¥À» µ¥¸óÀ¸·Î |
| ½ÇÇàÇÏ¸é ¹é±×¶ó¿îµå¿¡¼ ÀáÀÚ°í ÀÖ´Ù°¡ ÀÏÁ¤ ÁÖ±â·Î ij½¬ |
| µð·ºÅ丮¿¡¼ Áö¿ï °ÍÀÌ ÀÖ´ÂÁö °Ë»çÇÑ´Ù. µ¥¸ó¿¡°Ô TERMÀ̳ª |
| INT ½Ã±×³ÎÀ» º¸³»¸é ¾ÈÀüÇÏ°Ô Á¾·áÇÑ´Ù.</p> |
| </summary> |
| <seealso><module>mod_cache_disk</module></seealso> |
| |
| <section id="synopsis"><title>°³¿ä</title> |
| <p><code><strong>htcacheclean</strong> |
| [ -<strong>D</strong> ] |
| [ -<strong>v</strong> ] |
| [ -<strong>r</strong> ] |
| [ -<strong>n</strong> ] |
| -<strong>p</strong><var>path</var> |
| -<strong>l</strong><var>limit</var></code></p> |
| |
| <p><code><strong>htcacheclean</strong> -<strong>b</strong> |
| [ -<strong>n</strong> ] |
| [ -<strong>i</strong> ] |
| -<strong>d</strong><var>interval</var> |
| -<strong>p</strong><var>path</var> |
| -<strong>l</strong><var>limit</var></code></p> |
| </section> |
| |
| <section id="options"><title>¿É¼Ç</title> |
| <dl> |
| <dt><code>-d<var>interval</var></code></dt> |
| <dd>µ¥¸óÀ¸·Î ½ÇÇàÇÏ¿© <var>interval</var> ºÐ¸¶´Ù ij½¬¸¦ |
| û¼ÒÇÑ´Ù. ÀÌ ¿É¼ÇÀº <code>-D</code>, <code>-v</code>, |
| <code>-r</code> ¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù. µ¥¸óÀ» ¾ÈÀüÇÏ°Ô |
| Á¾·áÇÏ·Á¸é µ¥¸ó¿¡°Ô <code>SIGTERM</code> ȤÀº |
| <code>SIGINT</code> ½Ã±×³ÎÀ» º¸³»¸é µÈ´Ù.</dd> |
| |
| <dt><code>-D</code></dt> |
| <dd>°Ë»ç¸¸ ÇÏ°í ½ÇÁ¦ ¾Æ¹«°Íµµ Áö¿ìÁö ¾Ê´Â´Ù. ÀÌ ¿É¼ÇÀº |
| <code>-d</code> ¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.</dd> |
| |
| <dt><code>-v</code></dt> |
| <dd>ÀÚ¼¼ÇÑ Åë°è¸¦ Ãâ·ÂÇÑ´Ù. ÀÌ ¿É¼ÇÀº <code>-d</code> ¿É¼Ç°ú |
| ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.</dd> |
| |
| <dt><code>-r</code></dt> |
| <dd>¿ÏÀüÈ÷ û¼ÒÇÑ´Ù. ¾ÆÆÄÄ¡ À¥¼¹ö°¡ µ¿ÀÛÇÏÁö ¾Ê´Â´Ù°í °¡Á¤ÇÑ´Ù |
| (¸¸¾à µ¿ÀÛÇÑ´Ù¸é ij½¬¿¡ ÀÌ»óÇÑ °ªÀÌ ÀúÀåµÈ´Ù). ÀÌ ¿É¼ÇÀº |
| <code>-d</code> ¿É¼Ç°ú ÇÔ²² »ç¿ëÇÒ ¼ö ¾ø´Ù.</dd> |
| |
| <dt><code>-n</code></dt> |
| <dd>Ä£ÀýÇÏ°Ô(nice) µ¿ÀÛÇÑ´Ù. ´Ù¸¥ ÇÁ·Î¼¼½º¸¦ À§ÇØ ´À¸®°Ô |
| µ¿ÀÛÇÑ´Ù. <code>htcacheclean</code>°¡ ÀÚÁÖ ÀáÀ» ÀڰԵǿ© |
| (1) µð½ºÅ© ÀÔÃâ·ÂÀÌ Áö¿¬µÇ°í (2) ±×µ¿¾È Ä¿³ÎÀº ´Ù¸¥ ÇÁ·Î¼¼½º¸¦ |
| ½ºÄÉÁÙÇÒ ¼ö ÀÖ´Ù.</dd> |
| |
| <dt><code>-p<var>path</var></code></dt> |
| <dd><var>path</var>¸¦ µð½ºÅ© ij½¬ÀÇ ÃÖ»óÀ§ µð·ºÅ丮·Î ÁöÁ¤ÇÑ´Ù. |
| <directive module="mod_cache_disk">CacheRoot</directive> |
| Áö½Ã¾î¿¡ »ç¿ëÇÑ °ª°ú µ¿ÀÏÇÑ °ªÀ» »ç¿ëÇØ¾ß ÇÑ´Ù.</dd> |
| |
| <dt><code>-l<var>limit</var></code></dt> |
| <dd>Àüü µð½ºÅ© ij½¬ ¿ë·® Á¦ÇÑÀ» <var>limit</var>·Î Á¦ÇÑÇÑ´Ù. |
| °ªÀº ±âº»ÀûÀ¸·Î (ȤÀº ¼ýÀÚ¿¡ <code>B</code>¸¦ ºÙÀ̸é) ¹ÙÀÌÆ® |
| ´ÜÀ§ÀÌ´Ù. ų·Î¹ÙÀÌÆ®´Â <code>K</code>¸¦, ¸Þ°¡¹ÙÀÌÆ®´Â |
| <code>M</code>À» µÚ¿¡ ºÙÀδÙ.</dd> |
| |
| <dt><code>-i</code></dt> |
| <dd>Áö´ÉÀûÀ¸·Î µð½ºÅ© ij½¬°¡ º¯°æµÈ °æ¿ì¿¡¸¸ µ¿ÀÛÇÑ´Ù. ÀÌ |
| ¿É¼ÇÀº <code>-d</code> ¿É¼Ç°ú ÇÔ²²¸¸ »ç¿ëÇÒ ¼ö ÀÖ´Ù.</dd> |
| </dl> |
| </section> |
| |
| <section id="exit"><title>Á¾·áÄÚµå</title> |
| <p><code>htcacheclean</code>´Â ¸ðµç ÀÛ¾÷ÀÌ ¼º°øÇÑ °æ¿ì¿¡ |
| ("Âü") Á¾·áÄÚµå 0À» ¹ÝȯÇÏ°í, ½ÇÆÐÇÑ °æ¿ì¿¡´Â <code>1</code>À» |
| ¹ÝȯÇÑ´Ù.</p> |
| </section> |
| |
| </manualpage> |