Poster of Linux kernelThe best gift for a Linux geek
BD_PGSQL_PURGE

BD_PGSQL_PURGE

Section: Maintenance Commands (8) Updated: 8 Dec 2007
Local index Up
 

NAME

bd_pgsql_purge - summarizer script for bandwidthd (postgresql mode)  

DESCRIPTION

This program generatet the SQL code that should be run in certain intervals to summarize the data collected by bandwidthd (in postgresql mode) and purge the detailed records. The program itself only generates the SQL code. You need to feed it to your postgresql server yourself, which can be done by piping the output to the psql program. Adding a crontab script that runs weekly and cleans up the database is recommended.
 

FILES

/usr/sbin/bd_pgsql_purge                - the script to generate sql code
/etc/cron.weekly/bandwidthd-pgsql       - default schedule for bd_pgsql_purge
 

SEE ALSO

bandwidthd(8) bandwidthd.conf(5) psql(1)

Furter information available at the website:
http://bandwidthd.sourceforge.net  

AUTHOR

This manual page was written by Andreas Henriksson <andreas@fatal.se>, for the Debian GNU/Linux system.


 

Index

NAME
DESCRIPTION
FILES
SEE ALSO
AUTHOR

This document was created by man2html, using the manual pages.
Time: 22:01:20 GMT, April 16, 2011