°Ô½Ã¹° 1,369°Ç
   
squid ·Î±× ¸®Æ÷Æ® (Squeezer2)
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2011-01-10 (¿ù) 16:05 Á¶È¸ : 19250
±ÛÁÖ¼Ò :
                                
 
webalizer ¸¦ Á¦¿ÜÇÏ°í ½ºÄûµå ·Î±×ÆÄÀÏÀ» ºÐ¼®ÇØÁÖ´Â ÅøÀ» µÚÁö´Ù°¡ ³ª¿Â°Å´Ù.
perl ·Î µÇ¾îÀÖÀ¸¸ç ÇöÀç ÀúÀåµÈ ·Î±×ÆÄÀÏ À§Ä¡¸¸ Àâ¾ÆÁÖ¸é µÈ´Ù.
 
ex)
echo ""
echo "Rotating squid logs"
/usr/local/sbin/squid -k rotate

echo ""
echo "Generating squid usage reports"
"/usr/local/bin/squeezer2.pl /var/squid/logs/access.log.0 >/var/www/htdocs/squeezer/SQ`date +%Y%m%d`.html
/usr/local/bin/squeezer2.pl >/var/www/htdocs/squeezer/all.html
 
 [root@localhost]# /usr/local/sbin/squid -k rotate

 
[root@localhost]# perl squeezer2.pl /home/squid/logs/access.log.0 > test.html
Use of uninitialized value in printf at ./squeezer2.pl line 1127 (#1)
    (W uninitialized) An undefined value was used as if it were already
    defined.  It was interpreted as a "" or a 0, but maybe it was a mistake.
    To suppress this warning assign a defined value to your variables.
    To help you figure out what was undefined, perl tells you what operation
    you used the undefined value in.  Note, however, that perl optimizes your
    program and the operation displayed in the warning may not necessarily
    appear literally in your program.  For example, "that $foo" is
    usually optimized into "that " . $foo, and the warning will refer to
    the concatenation (.) operator, even though there is no . in your
    program.
 
 
ÆäÀÌÁö¸¦ ¿­¾îº¸¸é...¾Æ·¡Ã³·³

 

À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.