Retrieve the PLM log.
plm log [options]
Retrieve the PLM log, and print it on the console, or a channel.
|Specify the file handle to which the data should be redirected. If no file handle is given, data is printed on stdout.
|Specify the memory address from which the PLM log should be retrieved. By default, the address and log size are obtained by triggering IPI commands to PLM. If PLM does not respond to IPI commands, default address 0xf2019000 is used. This option can be used to change default address. If either memory address or log size is specified, then the address and size are not retrieved from PLM. If only one of the address or size options is specified, default value is used for the other option. See below for description about log size.
-log-size <size in bytes>
|Specify the log buffer size. If this option is not specified, the default size of 1024 bytes is used, only when the log memory information cannot be retrieved from PLM.
|Specify the slave slr number. If this option is not specified, the default is SLR0 (master plm). Valid slr range is from 0 to 3.
Nothing, if successful. Error, otherwise.
set fp [open test.log r]
plm log -handle $fp
Retrieve PLM debug log and write it to test.log.
plm log -slr 2
Retrieve PLM debug log from slave slr 2.