Cpanel - webalizer - обновить вручную статистику

Материал из Wiki - Iphoster - the best ever hosting and support. 2005 - 2024
Перейти к:навигация, поиск

Чтобы обновить статистику webalizer вручную набираем по ssh команды:

# cd /home/user/tmp/webalizer
# /usr/local/cpanel/3rdparty/bin/webalizer -p /usr/local/apache/domlogs/your_domain -n your_domain
, где your_domain - Ваш домен
-p - сохранить предыдущую статистику.
Webalizer V2.23-05 (Linux 2.6.32-71.29.1.el6.x86_64 x86_64) English
Using logfile /usr/local/apache/domlogs/your_domain (clf)
Creating output in current directory
Hostname for reports is 'your_domain'
Reading history file... webalizer.hist
Reading previous run data.. webalizer.current
Warning: Truncating oversized referrer field [2]
Warning: Truncating oversized request field [2]
Warning: Truncating oversized referrer field [23]
Warning: Truncating oversized referrer field [45]
Warning: Truncating oversized referrer field [49]
Warning: Truncating oversized request field [49]
Warning: Truncating oversized referrer field [51]
Warning: Truncating oversized referrer field [52]
Warning: Truncating oversized request field [52]
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field [142]
Warning: Truncating oversized request field [142]
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field [146]
Warning: Truncating oversized request field [146]
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field [149]
Warning: Truncating oversized request field [149]
Warning: Truncating oversized referrer field [150]
Warning: Truncating oversized request field [150]
Warning: Truncating oversized referrer field
Warning: Truncating oversized referrer field [173]
Warning: Truncating oversized request field [173]
Warning: Truncating oversized referrer field [178]
Warning: Truncating oversized request field [178]
Warning: Truncating oversized referrer field [179]
Warning: Truncating oversized request field [179]
Warning: Truncating oversized referrer field [193]
Warning: Truncating oversized referrer field [200]
Warning: Truncating oversized request field [200]
Warning: Truncating oversized referrer field [261]
Warning: Truncating oversized referrer field
Saving current run data... [12/01/2014 04:21:34]
Generating report for December 2014
Saving history information...
Generating summary report
364 records in 1 seconds, 364/sec


Все опции webalizer:

Usage: ./webalizer [options] [log file]
-h = print this help message
-v -V = print version information
-d = print additional debug info
-F type = Log type. type= (clf | ftp | squid)
-f = Fold sequence errors
-i = ignore history file
-p = preserve state (incremental)
-q = supress informational messages
-Q = supress _ALL_ messages
-Y = supress country graph
-G = supress hourly graph
-H = supress hourly stats
-L = supress color coded graph legends
-l num = use num background lines on graph
-m num = Visit timout value (seconds)
-T = print timing information
-c file = use configuration file 'file'
-n name = hostname to use
-o dir = output directory to use
-t name = report title 'name'
-a name = hide user agent 'name'
-r name = hide referrer 'name'
-s name = hide site 'name'
-u name = hide URL 'name'
-x name = Use filename extension 'name'
-P name = Page type extension 'name'
-I name = Index alias 'name'
-A num = Display num top agents
-C num = Display num top countries
-R num = Display num top referrers
-S num = Display num top sites
-U num = Display num top URLs
-e num = Display num top Entry Pages
-E num = Display num top Exit Pages
-g num = Group Domains to 'num' levels
-X = Hide individual sites
-D name = Use DNS Cache file 'name'
-N num = Number of DNS processes (0=disable)