clearxs man page on DragonFly

Man page or keyword search:  
man Server   44335 pages
apropos Keyword Search (all sections)
Output format
DragonFly logo
[printable version]

CLEARXS(1)		  BSD General Commands Manual		    CLEARXS(1)

NAME
     clearxs — Daily update for the xs-httpd counter file

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
     The clearxs utility exits 0 on success, and >0 if an error occurs.

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

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

xs-httpd/3.5			March 26, 1996			  xs-httpd/3.5
[top]

List of man pages available for DragonFly

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net