눈바래다

ftp.superuser.co.kr 에서 download

accesswatch-2_02.tar 파일이름 변경할것 (superuser 에서 파일 잘못 upload 하였음)

[root@hsvn local]# tar xvf accesswatch-2_02_tar.tar

[root@hsvn cfg]# vi accesswatch.cfg

$accessLog = "/usr/local/log/access_log";

$reportBase = "/usr/local/log";

$siteName  = "kim.com";

$siteBaseURL = "http://kim.com";

$orgname   = "kim";

$orgdomain = "kim.com";

<!-- START custom footer -->

Welcome to kim website!

<!-- END   custom footer -->

[root@hsvn aw]# vi accesswatch_start.sh

 

#!/bin/bash

echo "/usr/local/aw/aw-parser start..."

/usr/local/aw/aw-parser -c /usr/local/aw/cfg/accesswatch.cfg

echo

echo

echo "/usr/local/aw/aw-report start..."

/usr/local/aw/aw-report -c /usr/local/aw/cfg/accesswatch.cfg

echo

echo

echo "accesswatch end ..."

[root@hsvn aw]# /usr/local/aw/aw-parser -c /usr/local/aw/cfg/accesswatch.cfg

AccessWatch v2.02 starting, parsing the log activity since the last run.

 

-> This is an unregistered copy of AccessWatch. Please visit

-> https://www.accesswatch.com/license/order.cgi to register.

 

Scanning for start of current log period... done.

Begin time: 29/May/2006:14:22:48        End time  : 06/Apr/2007:17:15:01

Parsing access log....2006052914. done.

Log file parsing complete.

[root@hsvn aw]# /usr/local/aw/aw-report -c /usr/local/aw/cfg/accesswatch.cfg

Accesswatch v2.02 Report Generator

Reading stats summary for all recorded dates...

Copying report image files...

Calculating Stats...

Writing report pages:

        Pages

        Hosts

        Hourly

        Domains

        Days

        Summary

Done.