By default, the LPAR tool logs all command calls in the file lpar.log in the user’s home directory. The time is recorded, the version of the LPAR tool, the command that was started and all commands on the HMCs that were executed as a result of the command of the LPAR tool:
$ cat ~/lpar.log … [12.09.20 11:15:56] Version: 1.5.1.0 (20200801) Command: lpar activate -p standard aix03 hmc02: chsysstate -m s822 -r lpar -o on -n aix03 -f standard
If an error occurs while executing a command, the error message is also recorded in the log file.
If the file gets too big, it can be deleted at any time. The log file serves the sole purpose of keeping a record of the activities that the user has carried out with the LPAR tool.