NAME¶
servicelog_manage - perform management/maintenance operations on the system
servicelog
SYNOPSIS¶
/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
DESCRIPTION¶
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.
OPTIONS¶
- --status
- 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.
- --truncate {events|notify}
- Delete all events (including repair actions) or all notifications.
WARNING: Make sure you really want to do this!
- --clean
- 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.
- --age=days
- Change the 60-day default for --clean to some other value, in days.
- --force
- Don't prompt the user for verification when the --truncate option is used.
Use with caution!
- --help
- Display a help message.
AUTHOR¶
Written by Michael Strosaker (strosake@austin.ibm.com) and Nathan Fontenot
(nfont@austin.ibm.com)