GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages


Manual Reference Pages  -  CLEARXS (1)

NAME

clearxs - Daily update for the xs-httpd counter file

CONTENTS

Synopsis
Description
Examples
Diagnostics
See Also

SYNOPSIS

clearxs [-d-| -m -| -T -| -x yyyymmdd]

DESCRIPTION

'clearxs' is a program that you should install in a cron(1) table. 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:
-d This makes the program clear all the day counters, but leaves the other counters as they were. This option should be used every night.
-m 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.
-T Clears all the counters. Do not use...
-x yyyymmdd
  Expunge counters that have not been used since the given day. This will remove historical data from disk - use with care.

EXAMPLES

The following can be used as a crontab(5) entry:
0       0       2-31    *       *       root    clearxs -d
0       0       1       *       *       root    clearxs -m

DIAGNOSTICS


.Ex -std clearxs

SEE ALSO

httpd(1), readxs(1), httpd_ssi(7)

The project homepage: http://www.xs-httpd.org/

Search for    or go to Top of page |  Section 1 |  Main Index


Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.