¾ÆÆÄÄ¡ access.log¸¦ ÀÌ¿ëÇÑ Á¢¼ÓÀÚ¼ö ÃøÁ¤¹ý |
±Û ¾´ ÀÌ |
linux |
³¯ Â¥ |
2003³â 01¿ù 19ÀÏ 00½Ã 57ºÐ 00ÃÊ |
º» ¹® |
¿À´ÃÀÇ ¹æ¹®ÀÚ¼ö ÃøÁ¤:
cat access_log | cut -d: -f1-2 | sort -u | grep `date +%d/%b/%Y` | wc -l
¿À´ÃÀÇ ¹æ¹®ÀÚ ipÃøÁ¤:
cat access_log | grep `date +%d/Feb/%Y` | awk '{ print$1 }'| sort |uniq |nl |
|
|
|