LoginSignup
1
2

More than 5 years have passed since last update.

httpdの簡易アクセス解析

Last updated at Posted at 2015-02-24

access_logを指定して,どのIPアドレスからどれだけアクセスされたかざっくり見る

sudo cut -d" " -f1 /var/log/httpd/access_log | sort | uniq -c | sort -r

過去分も含める場合

cd /var/log
sudo find httpd -name access_log* -exec cut -d" " -f1 {} \; | sort | uniq -c | sort -r

データが多すぎると無理かも

1
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
2