Oracle Light Weight Availability Collection Tool User Guide

logtime Utility

The logtime utility is used by the root user to update the cause code for events. This utility is also used by the system to create and update boot and halt events. Using -M option of this utility, only the root user can modify the cause code for the halt and panic events, whereas -B and -H options are used by the system (host process, such as init) itself. logtime can be executed in interactive and non-interactive mode. In the interactive mode, the user does not need to provide the cause code string; whereas in the non-interactive mode it does require the event number and cause code string (comma separated, triplet—For more information, see Setting Up Cause Codes).