To record CLI commands in a log file, set the log parameter to the name of the file in which to record the commands. The log file has the following format:
DATE & TIME;duration or message;command and parameters
The following example is an excerpt of the log of the command sequence from which the previous getLoadedModules command output was obtained.
Fri Dec 21 14:15:12 PST 2001;0 second;set o=\ /home/examples/output.3c23b455 Fri Dec 21 14:15:23 PST 2001;0 second;set f=plain Fri Dec 21 14:15:45 PST 2001;0 second;set a=smtg-dev21 Fri Dec 21 14:16:08 PST 2001;== START OF THREAD ==;getLoadedModules Fri Dec 21 14:16:08 PST 2001;2 seconds;getLoadedModules Fri Dec 21 14:16:12 PST 2001;9 seconds;print Fri Dec 21 14:21:28 PST 2001;== START OF THREAD ==;getAgentPort Fri Dec 21 14:21:28 PST 2001;0 second;getAgentPort Fri Dec 21 14:21:31 PST 2001;0 second;print Fri Dec 21 14:22:01 PST 2001;0 second;exit