Current Path : /home/tools/awstats/docs/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : /home/tools/awstats/docs/awstats_tools.html |
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html> <head> <meta name="description" content="AWStats Documentation - Other tools"> <meta name="keywords" content="awstats, awstat, tools, utilities, awstats_buildstaticpages, logresolvemerge, common2combined"> <meta name="robots" content="index,follow"> <meta name="title" content="AWStats Documentation - Other tools"> <title>AWStats Documentation - Other tools</title> <link rel="stylesheet" href="styles.css" type="text/css"> <!-- $Revision: 1.25 $ - $Author: eldy $ - $Date: 2003/09/22 04:01:59 $ --> </head> <body topmargin=10 leftmargin=5> <table style="font: 10pt arial,helvetica,verdana" cellpadding=0 cellspacing=0 border=0 bgcolor=#FFFFFF width=100%> <!-- Large --> <tr style="font: 10pt arial,helvetica,verdana"> <td bgcolor=#9999cc align=center><a href="/"><img src="images/awstats_logo4.png" border=0></a></td> <td bgcolor=#9999cc align=center> <br> <font style="font: 16pt arial,helvetica,sanserif" color=#EEEEFF><b>AWStats logfile analyzer 5.9 Documentation</b></font><br> <br> </td> <td bgcolor=#9999cc align=center> </td> </tr> </table> <br><br><H1 style="font: 26px arial,helvetica,sanserif">Other tools</H1> <br> This is a list of other tools provided with AWStats.<br> All those tools are available in <b>tools</b> directory of AWStats distribution.<br> <br><br> <!-- <br> <br><a name="configure"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>configure.pl</u></H2></a> <br>This script creates one config file for each web servers provided by Apache. <br>After running this tool, AWStats can immediatly be used.<br> <br> <br> This tool is not yet available... <br> <br> --> <br> <br><a name="awstats_updateall"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>awstats_updateall.pl</u></H2></a> <br>awstats_updateall launches update process for all AWStats config files (except <br>awstats.model.conf) found in a particular directory, so you can easily setup a <br>cron/scheduler job. The scanned directory is by default /etc/awstats. <br> <br>Usage: awstats_updateall.pl now [options] <br> <br>Where options are: <br> -awstatsprog=pathtoawstatspl <br> -configdir=confdirtoscan <br> <br> <br> <br><a name="awstats_buildstaticpages"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>awstats_buildstaticpages.pl</u></H2></a> <br>awstats_buildstaticpages allows you to launch AWStats with -staticlinks option <br>to build all possible pages allowed by AWStats -output option. <br> <br>Usage: <br>awstats_buildstaticpages.pl (awstats_options) [awstatsbuildstaticpages_options] <br> <br> where awstats_options are any option known by AWStats <br> -config=configvalue is value for -config parameter (REQUIRED) <br> -update option used to update statistics before to generate pages <br> -lang=LL to output a HTML report in language LL (en,de,es,fr,...) <br> -month=MM to output a HTML report for an old month=MM <br> -year=YYYY to output a HTML report for an old year=YYYY <br> <br> and awstatsbuildstaticpages_options can be <br> -awstatsprog=pathtoawstatspl gives AWStats software (awstats.pl) path <br> -dir=outputdir to set output directory for generated pages <br> -date Used to add build date in built pages file name <br> -staticlinksext=xxx For pages with .xxx extension instead of .html <br> -buildpdf[=pathtohtmldoc] Build a PDF file after building HTML pages. <br> Output directory must contains icon directory <br> when this option is used (need 'htmldoc'). <br> <br>New versions and FAQ at http://awstats.sourceforge.net <br> <br> <br> <br><a name="urlaliasbuilder"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>urlaliasbuilder.pl</u></H2></a> <br>Urlaliasbuilder generates an 'urlalias' file from an input file. <br>The input file must contain a list of URLs (It can be an AWStats history file). <br>For each of thoose URLs, the script get the corresponding HTML page and catch the <br>header information (title), then it writes an output file that contains one line <br>for each URLs and several fields: <br>- The first field is the URL, <br>- The second is title caught from web page. <br>This resulting file can be used by AWStats urlalias plugin. <br> <br>Usage: urlaliasbuilder.pl -site=www.myserver.com [options] <br> <br>The site parameter contains the web server to get the page from. <br>Where options are: <br> -urllistfile=Input urllist file <br> If this file is an AWStats history file then urlaliasbuilder will use the <br> SIDER section of this file as its input URL's list. <br> -urlaliasfile=Output urlalias file to build <br> -overwrite Overwrite output file if exists <br> -secure Use https protocol <br> <br>Example: urlaliasbuilder.pl -site=www.someotherhost.com <br> <br>New versions and FAQ at http://awstats.sourceforge.net <br> <br>This script was written from Simon Waight original works title-grabber.pl. <br> <br> <br><a name="logresolvemerge"><H2 style="font: 22px arial,helvetica,sanserif color: #606060"><u>logresolvemerge.pl</u></H2></a> <br>logresolvemerge allows you to merge several log files into one output, <br>sorted on date. It also makes a fast reverse DNS lookup to replace <br>all IP addresses into host names in resulting log file. <br>logresolvemerge comes with ABSOLUTELY NO WARRANTY. It's a free software <br>distributed with a GNU General Public License (See COPYING.txt file). <br>logresolvemerge is part of AWStats but can be used alone as a log merger <br>or resolver before using any other log analyzer. <br> <br>Usage: <br> logresolvemerge.pl [options] file <br> logresolvemerge.pl [options] file1 ... filen <br> logresolvemerge.pl [options] *.* <br>Options: <br> -dnslookup make a reverse DNS lookup on IP adresses <br> -dnscache=file make DNS lookup from cache file first before network lookup <br> -showsteps print on stderr benchmark information every 8192 lines <br> -addfilenum if used with several files, file number can be added in first <br> field of output file. <br> <br>This runs logresolvemerge in command line to open one or several web <br>server log files to merge them (sorted on date) and/or to make a reverse <br>DNS lookup. The result log file is sent on standard output. <br>Note: logresolvemerge is not a 'sort' tool to sort one file. It's a <br>software able to output sorted log records (with a reverse DNS lookup <br>made if wanted) even if log records are shaked in several files. <br>However each of thoose files must be already independently sorted itself <br>(but that is the case in all web server log files). <br>logresolvemerge is particularly usefull when you want to merge large log <br>files in a fast process and with a low use of memory getting records in a <br>chronological order through a pipe (for use by third tool, like log analyzer). <br> <br>WARNING: If log files are old MAC text files (lines ended with CR char), you <br>can't run this tool on Win or Unix platforms. <br> <br>Now supports/detects: <br> Automatic detection of log format <br> Files can be .gz/.bz2 files if zcat/bzcat tools are available in PATH. <br>New versions and FAQ at http://awstats.sourceforge.net <br> <br> <br> <hr> <script language=javascript> var lastmod = new Date(document.lastModified); if (lastmod.getDate() > 0) { if (lastmod.getDate()<10) zerod="0" else zerod=""; if (lastmod.getMonth()<9) zerom="0" else zerom="" year2kok=lastmod.getYear(); if (year2kok<100) year2kok+=2000; if ((year2kok>=100) && (year2kok < 1970)) year2kok+=1900; document.writeln("Last revision: "+year2kok+"-"+zerom+(lastmod.getMonth()+1)+"-"+zerod+lastmod.getDate()); } </script> </body> </html>