Apache Webãµã¼ãï¼ä»¥ä¸Apacheï¼ã«ã¯å¼·åãªãã°ã¤ã³ãã¬ã¼ã ã¯ã¼ã¯ãä»å±ãã¦ãããããã©ã«ãè¨å®ä¸ã®Apacheã§ã¯ãã¨ã©ã¼ã«é¢ãããã¹ã¦ã®æ å ±ãã¨ã©ã¼ãã°ãã¢ã¯ã»ã¹ã«é¢ãããã¹ã¦ã®æ å ±ãã¢ã¯ã»ã¹ãã°ã«è¨é²ãããããã«ãªã£ã¦ãããããããããã©ã«ãã¬ãã«ã®ãã°æ å ±ã§ããã©ãã£ãã¯ãã¿ã¼ã³ã®è§£æãã¨ã©ã¼ã«é¢ããåºæ¬æ å ±ã®åéã«ã¯å åã§ããããããã©ãã«ã·ã¥ã¼ãã£ã³ã°ã¨ãªãã¨ä¸å åãªãã¨ãããããããã«ãããå©ç¨å¯è½ãªãã¹ã¦ã®ãã°æ©è½ãææ¡ãã¦ãããã¨ã¯ãApacheä¸ã§ãã¹ãããã¢ããªã±ã¼ã·ã§ã³ãWebãµã¼ãã®ãã©ãã«ã·ã¥ã¼ãã£ã³ã°ã«å½¹ç«ã¤ã¯ãã ã Fedoraã«ã¤ã³ã¹ãã¼ã«ããApacheã®å ´åãããã©ã«ãè¨å®ä¸ã®ã¢ã¯ã»ã¹ãã°ã¯/etc/httpd/logs/access_logã«ãã¨ã©ã¼ãã°ã¯/etc/httpd/logs/error_logã«ä¿ç®¡ãããããã®ãã¡ã¢ã¯ã»ã¹ãã°
Apacheã®ãã°ããã±ã¼ã¿ã¤ã®æ©ç¨®å¥ã¢ã¯ã»ã¹æ°ãã«ã¦ã³ãããã³ãã³ã Tweet 2008/1/21 æææ¥ matsui Posted in ãµã¼ã | 1 Comment » Apacheã®ã¢ã¯ã»ã¹ãã°ãããæºå¸¯é»è©±ã®ã¦ã¼ã¶ã¨ã¼ã¸ã§ã³ããæ½åºããæ©ç¨®å¥ã®ã¢ã¯ã»ã¹æ°ã表示ãã1è¡ã³ãã³ããèãã¦ã¿ã¾ããã æ£ç¢ºãªåæã¯ã¢ã¯ã»ã¹è§£æã½ããã«ä»»ããã¨ãã¦ãããã¨æ©ç¨®å¥ã®ã¢ã¯ã»ã¹æ°ãç¥ãããå ´åã«ä½¿ããããããã¾ããã ãã³ã¢ç¨ $ perl -na -F/'(DoCoMo\/.\.0.*?)(\/c|\()'/ -e 'print $F[1]."\n"' access_log |grep -v "^$" |sort |uniq -c |sort -r auç¨ $ perl -na -F/'(KDDI\-.*?)"'/ -e 'print $F[1]."\n"' access_log |gr
ãªãªã¼ã¹ãé害æ å ±ãªã©ã®ãµã¼ãã¹ã®ãç¥ãã
ææ°ã®äººæ°ã¨ã³ããªã¼ã®é ä¿¡
å¦çãå®è¡ä¸ã§ã
j次ã®ããã¯ãã¼ã¯
kåã®ããã¯ãã¼ã¯
lãã¨ã§èªã
eã³ã¡ã³ãä¸è¦§ãéã
oãã¼ã¸ãéã
{{#tags}}- {{label}}
{{/tags}}