Veritas Volume Manager 5.1 SP1 Troubleshooting Guide (5900-1507, April 2011)

Logging commands and
transactions
This chapter includes the following topics:
Command logs
Transaction logs
Association of command and transaction logs
Associating CVM commands issued from slave to master node
Command logs
The vxcmdlog command allows you to log the invocation of other Veritas Volume
Manager (VxVM) commands to a file.
The following examples demonstrate the usage of vxcmdlog:
List current settings for command logging.vxcmdlog -l
Turn on command logging.vxcmdlog -m on
Set the maximum command log file size to 512K.vxcmdlog -s 512k
Set the maximum number of historic command log files
to 10.
vxcmdlog -n 10
Remove any limit on the number of historic command
log files.
vxcmdlog -n no_limit
Turn off command logging.vxcmdlog -m off
4
Chapter