Expunge
NAME
expunge - deletes sessions and redundant data from database
SYNOPSIS
/opt/asdic/bin/expunge [-h <n>] [-c <n>]
DESCRIPTION
The ASDIC database contains primarily three different kinds of data; flows, sessions and redundant data. Expunge deletes sessions and redundant data older than the specified age. Expunge must be run at regular intervals to keep the database from overflowing with sessions and redundant data. The database is locked during the expunge, making it inaccessible for all clients, including the web user interface.
It is good to keep sessions for at least 24 hours for greater detail resolution when working in the web user interface. As long as the database size not exceed the memory of the machine, there is nothing keeping you from increasing the storage time.
OPTIONS
- -h <n>
- Minimum age in hours before deleting data
- -c <n>
- Count
EXAMPLE
Delete all classified sessions and redundant data older than 48 hours.
# expunge -h 48
