cmdHistoryLogConfig

Last Updated : Jun 23, 2017 |

Use cmdHistoryLogConfig command to define the number of months that the system must maintain the command history and to compress the command history file after execution of rotation action.

Syntax

cmdHistoryLogConfig[[--numMonths <3-24>][--enableComp
y | n]]|[[--minMonths][--maxMonths]]||--rclist]||[--rcode<number>]||[--help|-h]
--numMonths

number of months commandhistory log is to be retained.

--enableComp:

sets enabling (y) or disabling (n) of compression

minMonths

displays the minimum number of months the command history log can be retained

maxMonths

displays the maximum number of months the command history log can be retained

rclist

list possible return code from this command

rcode

obtain error string associated with return code

--help

displays usage

cmdHistoryLogConfig Field Description

Field

Description

numMonths

number of months commandhistory log is to be retained.

enableComp

This enables or disables the log compression. By default this value is set to n.

minMonths

The minimum number of months the command history log can be retained.

maxMonths

The maximum number of months the command history log can be retained

rclist

Possible return codes

rcode

This obtains the string associated with the return code entered.

--help

Provides help on the usage of the cmdHistoryLogConfig command.