Manual Reference Pages - CLEARXS (1)
- Daily update for the xs-httpd counter file
[-d-| -m -| -T -| -x yyyymmdd]
is a program that you should install in a
What it does is clear some of the fields in the WWW counter
file every night. This is so that the counter can assume
three values: a day counter, a month counter and a total
counter. This program resets the day counter to 0 every day
and the month counter to 0 every first of the month.
The option controls which counters should be cleared:
This makes the program clear all the day counters, but
leaves the other counters as they were. This option should
be used every night.
This makes the program clear the day and the month counter.
The total counter is left as it was. This should be run by
cron every first of the month.
Clears all the counters. Do
Expunge counters that have not been used since the given day.
This will remove historical data from disk - use with care.
The following can be used as a
0 0 2-31 * * root clearxs -d
0 0 1 * * root clearxs -m
.Ex -std clearxs
The project homepage:
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.