Home | Hardware | Internet News |Web Hosting |IT Management |Network Storage
LinuxPlanet
Search 
  Power Search | Tips 

 Front Door
 Discussion
 LinuxEngine
 Opinions
 Reports
 Reviews
 Tutorials
 News
 Technology Jobs

 Browse by subject.
Free Newsletter

Linux Planet
Linux Today
More Free Newsletters

Be a Commerce Partner


















internet.com
IT
Developer
Internet News
Small Business
Personal Technology
International

Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Print this article
Email this article
Related Items

•  Time for Linux

•  "There's gold in them there log files"

•  Analog Home Page

•  Apache Home Page


   LinuxPlanet / Tutorials



Analyse Your Web Server in 10 Minutes
If You Have More Time

James Andrews
Monday, August 23, 1999 05:42:20 PM

That's your ten minutes up! You should now have things set up to be able to get basic information, updated daily, about how your web server performs. But there are always other little tweaks you can try.

If you have more time

If the cron job is mailing you each time it runs saying it cannot run a "referrer report" and you want a list of which other sites are linking to you, then you will need to edit your http.conf file to make sure that referrer data is being generated.

If you read the excellent analog docs and start adding features, or more likely trimming the data in the report, then here are a few tips. First there is an option -settings to dump analog's state. This can be very useful if you have made a typo or picked the wrong options by mistake, as it in effect "reads back" your analog options file. It will also show you the default settings. Another tip: if you use DNS WRITE and a DNSFILE, analog works so fast that experimenting is easy. Once all the DNS information is cached, analog will process more than a megabyte of logfile content per second. So just alter the settings and run it again and again.

A more complex configuration file


MONTHLY OFF
WEEKLY OFF
DAILY OFF
REFREPEXCLUDE http://www.linuxplanet.com/linuxplanet/*
FILEEXCLUDE /ads/*
DNS WRITE
DNSFILE /tmp/dnsfile.txt
HOSTNAME "Linuxplanet"
DOMAINSFILE /root/alli
REFSITE ON
DOMAIN ON
REFERRER ON

Here are some selected further options for analog. MONTHLY OFF, WEEKLY OFF and DAILY OFF turn off the reports that deal with months, weeks and days. If you are running the report every day you might like to ignore this data. REFREPEXCLUDE http://www.linuxplanet.com/linuxplanet/* means: in the referring URL report ignore all requests from that site. In this case I do not want to see any internal links on Linuxplanet, only the links from outside. FILEEXCLUDE /ads/* ignores the adverts in the stats. As the content editor on Linuxplanet, the hit rates on the adverts is not of much interest to me.

The other ON directives make sure that the reports I do want are on. REFERRER would be off by default.

What you do with the statistics this article offers is up to you. Take a look at this excellent guide to web server log analysis at The Web Designers Virtual Library for some ideas.

« Back: Introduction

Skip Ahead

1 Introduction
2 Analog Install and Setup
3 If You Have More Time
Netscape displays analog
Netscape displays analog





Linux is a trademark of Linus Torvalds.


internet.com home | search | help! | about us

Jupiter Online Media

internet.comearthweb.comDevx.commediabistro.comGraphics.com

Search:

Jupitermedia Corporation has two divisions: Jupiterimages and JupiterOnlineMedia

Jupitermedia Corporate Info


Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Web Hosting | Newsletters | Tech Jobs | Shopping | E-mail Offers