Update for config "e:/databack/awstats/website/cgi-bin/awstats.website.conf"
With data in log file "e:/databack/iis_logfiles/ex060704.log"...
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)...
Jumped lines in file: 0
Parsed lines in file: 971
Found 1 dropped records,
Found 3 corrupted records,
Found 0 old records,
Found 967 new qualified records.
awstats_buildstaticpages allows you to launch AWStats with -staticlinks option
to build all possible pages allowed by AWStats -output option.
(使用AWStats 的 -output 方法,你用awstats_buildstaticpages工具可以生成站点的所有使用到的页面,页面的扩展名是用-staticlinks定义好的)
Usage: (定义结构:)
awstats_buildstaticpages.pl (awstats_options) [awstatsbuildstaticpages_options]
where awstats_options are any option known by AWStats
(awstats_options 是AWStats所能识别的参数)
-config=configvalue is value for -config parameter (REQUIRED)
(-config=configvalue configvalue是-config的值如:website,该参数是必须的)
-update option used to update statistics before to generate pages
(-updata 是在没有生成站点页面前,先刷新日志分析结果的统计库)
-lang=LL to output a HTML report in language LL (en,de,es,fr,...)
(-lang=LL 用什么语言输出到html页面上来,cn为中文 )
-month=MM to output a HTML report for an old month=MM
(-month=MM 输出以前某个月份的html统计页面)
-year=YYYY to output a HTML report for an old year=YYYY
(-year=YYYY 输出以前某年的html统计页面)
and awstatsbuildstaticpages_options can be (awstatsbuildstaticpages_options 参数)
awstats_updateall launches update process for all AWStats config files (except awstats.model.conf) found in a particular directory, so you can easily setup a cron/scheduler job. The scanned directory is by default /etc/awstats.
//×swstats_updateall 可以更新指定文件夹下的所有AWStats config 文件(awstats.model.conf文件除外)
Usage: awstats_updateall.pl now [options]
//×使用方法:awstats_updateall.pl now [参数]
-awstatsprog=pathtoawstatspl
//*-awstatsprog 是用来指定awstats.pl 的物理路径
-configdir=directorytoscan
//*-configdir 指定所有AWStats config文件的物理路径
-excludeconf=conftoexclude (Note: awstats.model.conf is always excluded)
//*-excludeconf 指定不需要执行的文件,awstats.model.conf 不需要,默认已经排除了它
D:\tools\Perl\bin>perl e:/databack/awstats/tools/awstats_updateall.pl now -a wstatsprog=e:/databack/awstats/website/cgi-bin/awstats.pl -configdir=e:/databack/awstats/website/cgi-bin -lang=cn