DOKK / manpages / debian 10 / servicelog / servicelog_manage.8.en
SERVICELOG_MANAGE(8) PowerLinux Diagnostic Tools SERVICELOG_MANAGE(8)

servicelog_manage - perform management/maintenance operations on the system servicelog

/usr/sbin/servicelog_manage --status
/usr/sbin/servicelog_manage --truncate {events|notify} [--force]
/usr/sbin/servicelog_manage --clean [--age=days] [--force]
/usr/sbin/servicelog_manage --help

The servicelog_manage command performs administrative actions on the system servicelog. It is used primarily to purge events, repair actions, and notifications from the database.

Display counts for each type of entry in the servicelog. This is similar to the information displayed by the servicelog(8) command when it's invoked with no options.
Delete all events (including repair actions) or all notifications. WARNING: Make sure you really want to do this!
Purge older entries. By default, the following events will be deleted: all repaired serviceable events, all repair actions older than 60 days, all informational (non-serviceable) events older than 60 days, and all events older than one year. The 60-day period may be modified with the --age option.
Change the 60-day default for --clean to some other value, in days.
Don't prompt the user for verification when the --truncate option is used. Use with caution!
Display a help message.

Written by Michael Strosaker (strosake@austin.ibm.com) and Nathan Fontenot (nfont@austin.ibm.com)

servicelog(8) servicelog_notify(8) log_repair_action(8)

February 2012 Linux