Remstats Home


  About remstats
  Release Notes
  FAQ
  Conventions
  Prerequisites
  Installation
  Configuration
  Configuration Tools
  Servers
  Collectors
  Updater
  Monitors
  run-remstats
  CGIs
  do-traceroutes
  Miscellany
      availability-report
      cleanup
      convert-config-links
      genindex
      genmenu
      htmlpod
      podhtml
      podlatex
      podpdf
      rrd-report
  Thank-you
  Index


  Live Data

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

[Top] [Prev] [Next]

cleanup - removes stale, old files

Usage:

Can't locate remstats.pl in @INC (@INC contains: . /usr/lib/remstats/lib /usr/lib/perl5/ /usr/local/lib/perl/5.6.1 /usr/local/share/perl/5.6.1 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.6.1 /usr/share/perl/5.6.1 /usr/local/lib/site_perl) at ../cleanup line 25.

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/cleanup


Last updated Tue Apr 16 19:09:16 PDT 2002 by
<thomas.erskine@sourceworks.com>.
[SourceWorks] [Top] [RRDtool]