AW Stats:

Posted: August 26, 2010 in Scripts, System Admin
Tags: , ,

This article is very useful to regenerate the AWstats.

To regenerate the stats. The AW stat logs needs to be created with the help of  IIS logs. Follow the steps to recreate the stats.

Have a check whether Perl is installed and go to the AW stats path and run the command in the path “C:\Program Files\HSphere\3rdparty\AWStats>”

awstats.pl -config=ireferplumbers.co -update -logfile=”E:\hslogfiles\W3SVC641\ex091217.log”

run below command to update the stats in AW stats path.

awstats.pl -config=ireferplumbers.com -update

Script to run the log file in AWStats:

red.bat:
———-

“C:\Program Files\HSphere\3rdparty\AWStats\awstats.pl” -config=ireferplumbers.com -update -logfile=”E:\hslogfiles\W3SVC641\%1″

Test.bat:
———–

for /f %%a IN (‘dir /b “E:\hslogfiles\W3SVC641″‘) do call “C:\Program Files\HSphere\3rdparty\AWStats\red.bat” %%a

Advertisements
Comments
  1. I simply couldn’t go away your web site before suggesting that I extremely loved
    the standard info an individual supply to your guests?
    Is going to be again continuously to check up on new posts

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s