rbclean

Langue: en

Version: 2003-01-01 (mandriva - 01/05/08)

Section: 1 (Commandes utilisateur)

NAME

rbclean - RRDBrowse Cleanup Utility

SYNOPSIS

rbclean [ -flags ]

DESCRIPTION

This utility cleans up old PNG and Cache data left by the rrdbrowse package. Old data is defined as older than 24hrs.

Warning: This utility can wipe all of your cached data. The next time the update daemon is run it can take a long time because it has to refresh all the cache data at once.

OPTIONS

-p
Instruct the program to delete all PNG data.
-c
Instruct the program to delete all Cache data.
-d
Dry-run the program. It prints what it would delete on the screen so you can check if you don't delete any important data or such.
-f
Force deleting ALL files instead of only old files.

RETURN VALUE

The program doesn't return any usefull values, nor it prints anything on the screen. Except in dry-run (-d) mode it will print what it intents to delete.

EXAMPLES

To delete old PNG and Cache data from your daily maintenance scripts:
rbclean -pc

To delete all of your PNG files so apache/rrdtool must refresh:

rbclean -pf

FILES

/etc/rrdbrowse.conf
reads the options 'cachepath' and 'pngpath' form here.

BUGS

Not anything I don't know of yet, if you find any, please report them to me <rrdbrowse@chiparus.org>

Visit RRDBrowse on the web: http://home.support.nl/~tommy/rrdbrowse

AUTHOR

Tommy van Leeuwen <tommy@chiparus.org>

SEE ALSO

RRDBrowse README, rbupdate(1), rbtest(1)