Man pages sections > man8 > log_repair_action

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

LOG_REPAIR_ACTION(8) PowerLinux Diagnostic Tools LOG_REPAIR_ACTION(8)

NAME

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

SYNOPSIS

/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

DESCRIPTION

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).

OPTIONS

-l location-code or --location="location-code"
Specify the location code of the device that was repaired.
-p procedure or --procedure="procedure "
Specify the repair procedure that was followed.
-d date or --date="date"
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.
-n note-string or --note="note-string "
Log the specified textual note as part of the repair action.
-q or --quiet
Do not prompt for confirmation or print error messages.
-h or --help
Print a help message and exit.
-V or --version
Display the version of the command and exit.
To list the repair actions in the database, use "servicelog --repair_action=yes".

AUTHOR

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

SEE ALSO

servicelog(8)
February 2012 Linux