Web Hosting Talk







View Full Version : Webalizer only daily


Juan
04-23-2001, 04:45 AM
Hi,

I installed webalizer 2.01, but it only generates stats once a day at 4.02 AM, how can tell webalizer to generate stats realtime when I'm looking in my browser?

kentaurus
04-23-2001, 06:53 AM
I don think you can actually can/want to do that with webalizer.

Webalizer is run via a cron job daily, what it does is processing all the logs in all your sites and then generating the stats. This can be a long process if you have a busy site/many sites so you wouldn't be able to make it appear as it was in real time.

If you need live stats you can try adding a counter sitewide like in a cgi and php, but it would only count the page hits and unique hits.

huck
04-23-2001, 08:29 AM
Webalizer can be a pretty CPU and disk intensive if you have many a web sites with a good number of hits, especially if you do extensive logging. You may have to do some test runs and look at the time and resources webalizer takes up.

If you want to run webalizer more than once, you will have to edit the crontab in
/var/spool/cron

I would not reccommend doing this though unless you really need stats updated more than once. If you must have more frequent updates using webalizer, monitor your site for slow times and run the jobs then.

dutchie
04-23-2001, 01:31 PM
you might also want to check the topic below

"incremental processing?"