Viewing Detailed Statistics for your Unix-based website:

We have installed the wwwstat HTTPd Logfile Analysis Software. This program will generate statistical information about visitors to your website. To generate a current statistics page:

1. Telnet into your account
2. Type "cd www" to switch to your HTML directory
3. Type "wwwstat > stats.html" to create a page called stats.html which contains your current statistics
4. Logout and exit telnet by typing "exit"

If your domain name is mydomain.com, your statistics may now be accessed via the URL: http://www.mydomain.com/stats.html

Note: If you want to see data in the "Total Transfers by Client Domain" and "Total Transfers by Reversed Subdomain", you must run wwwstat with the "-dns" argument appended. This will likely take a long time for the script to complete, and is not recommended unless needed because it is a resource hog.

For more information about this program and its results, visit http://www.ics.uci.edu/pub/websoft/wwwstat/ or type "man wwwstat" at the telnet prompt.

Automatically updating statistics on your Unix-based website:

If you want your website statistics to be updated automatically at predetermined intervals, you can do so using the "cron" scheduling facility. For example, to have your statistics updated once per day at 4AM, you would do the following:

1. Create a file called mycron.txt containing the line:
0 4 * * * wwwstat>/home/username/www/stats.html
(don't forget to replace "username" with your username)

2. FTP the file into your account (be sure to use ASCII mode)
3. Telnet into your account
4. Type "crontab mycron.txt"
5. At this point you can delete the mycron.txt file and logout

Alternative method using the Unix vi editor:
1. Telnet into your account
2. Type "crontab -e" to enter the cron facility
3. You will need to use Unix vi editor commands (type "man vi" for more details) to enter the following line (don't forget to replace "username" with your username):
0 4 * * * wwwstat>/home/username/www/stats.html
4. Exit vi, then logout and exit telnet by typing "exit"

Your statistics page should now get automatically updated. For more information about cron, view the manual pages from telnet using "man cron" and "man crontab".