四.执行awstats日志分析awstats.pl语句
[root@Monitor tools]# /usr/local/awstats/wwwroot/cgi-bin/awstats.pl -update -config=www.gjb.com
Create/Update database for config "/etc/awstats/awstats." by AWStats version 7.6 (build 20161204)
From data in log file "/data/nginx/0914.log-20170917"...
Phase 1 : First bypass old records, searching new record...
Searching new records from beginning of log file...
Phase 2 : Now process new records (Flush history on disk after 20000 hosts)...
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Flush history file on disk (unique hosts reach flush limit of 20000)
Jumped lines in file: 0
Parsed lines in file: 3753576
Found 2 dropped records,
Found 0 comments,
Found 0 blank records,
Found 0 corrupted records,
Found 0 old records,
Found 3753574 new qualified records.
##查看一下awstats数据库文件
[root@Monitor awstats]# du -sh *
8.3M awstats092017.
Linux日志分析系统AWStats分析Nignx日志(5)
内容版权声明:除非注明,否则皆为本站原创文章。
转载注明出处:https://www.heiqu.com/c43c5ef3efd4e05fe210f7cc1629f6d2.html