DOKK / manpages / debian 12 / servicelog / log_repair_action.8.en
LOG_REPAIR_ACTION(8) PowerLinux Diagnostic Tools LOG_REPAIR_ACTION(8)

log_repair_action - create a log entry to indicate that a device was repaired

/usr/sbin/log_repair_action -l location-code [-p procedure] [-d date] [-n note-string] [-q]
/usr/sbin/log_repair_action -V
/usr/sbin/log_repair_action -h

The log_repair_action command creates an entry in the servicelog database to indicate that the device at the specified location code has been repaired. All events with the specified location code and procedure in their callouts will be marked closed (fixed).

Specify the location code of the device that was repaired.
Specify the repair procedure that was followed.
Specify the date and time when the device was repaired. The date format can be anything recognized by the -d option of the date(1) command. If not specified, defaults to the current date/time.
Log the specified textual note as part of the repair action.
Do not prompt for confirmation or print error messages.
Print a help message and exit.
Display the version of the command and exit.

To list the repair actions in the database, use "servicelog --repair_action=yes".

Written by Michael Strosaker (strosake@austin.ibm.com)

servicelog(8)

February 2012 Linux