Sun Management Center 3.6.1 User's Guide

ProcedureTo Record CLI Commands in a Log File

  1. Set the log parameter to the name of the file in which to record the commands.


    > set log=/home/examples/log.3c254030
    

    Once the log parameter is set, all subsequent commands are appended to the file. If this file does not exist, the file is created.

    The file is not overwritten, so make sure a new file is created if you want a new set of records.

  2. To stop recording, use the unset command with the log parameter.


    > unset log