[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Solution - adding full server and FTP reports to webalizer [was: What file do I modify to increase GUI stats Top 20 to Top 50?]
- Subject: Re: [cobalt-users] Solution - adding full server and FTP reports to webalizer [was: What file do I modify to increase GUI stats Top 20 to Top 50?]
- From: "Steve Werby" <steve-lists@xxxxxxxxxxxx>
- Date: Fri Apr 13 00:47:05 2001
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
"john" <john@xxxxxxxxxxxxx> wrote:
> What file(s) do I modify to increase GUI stats Top 20 to Top 50? Can it
> even be done?
>
> I need to get stats on more than just the top 20. Since webalizer doesn't
> summarize multiple sites, I believe my best bet is in the GUI.
If you add a record in Webalizer's cron file that grabs records from the
main server log file, it will create a set of stats for the server as a
whole. Something like the following with whatever flags you want to add in
should do the trick:
cat /var/log/httpd/combined-access | \
/usr/local/bin/webalizer -Q -o /home/sites/home/web/webstats/server_d \
> /dev/null 2>&1
If you want to report FTP traffic this should do it:
cat /var/log/xferlog | \
/usr/local/bin/webalizer -Q -F -p -n ftp -o
/home/sits/home/web/ftpstats/server_d \
> /dev/null 2>&1
--
Steve Werby
President, Befriend Internet Services LLC
http://www.befriend.com/