Remstats Home


  About remstats
  architecture
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
      alerter
  pagemakers
  run-remstats2
  CGIs
  troubleshooting
  do-traceroutes
  Miscellany
      alerter
      availability-report
      convert-config-links
      files
      functions
      genindex
      genmenu
      htmlpod
      lockfile
      podhtml
      podlatex
      podpdf
      remstats-backup
      remstats-cleanup
      remstats-version
      rename-host
      rrd-report
      rt-updater
  Thank-you
  Index


  Live Data

  Remstats was written by
  Thomas Erskine at the
  CRC in Canada and now
  at SourceWorks.

[Top] [Prev] [Next]

remstats-cleanup - removes stale, old files

Usage:

Can't locate remstats.pl in @INC (@INC contains: . /usr/lib/remstats/lib /usr/lib/perl5/ /etc/perl /usr/local/lib/perl/5.8.4 /usr/local/share/perl/5.8.4 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.8 /usr/share/perl/5.8 /usr/local/lib/site_perl) at ../remstats-cleanup line 26.

Description:

It removes old collector data from /var/lib/remstats/data/LAST, old logs from /var/lib/remstats/data/LOGS, old traceroute data from /var/lib/remstats/data/TRACEROUTES and old images from all the host subdirectories of /var/lib/remstats/cgi.

Run it out of cron every now and then, say once a day, with a line like:

	0 2 * * * /usr/lib/remstats/bin/remstats-cleanup


[
Top] [Remstats] [SourceWorks] [RRDtool] [SourceForge]
Last updated Tue Apr 5 03:38:28 UTC 2005 by <terskine@users.sourceforge.net>.