The PERC Command Line Tool supports the following commands for snapdump state, save count, collection, and deletion.
NOTE: Snapdump is not enabled on the H345 controller.
perccli /cx show snapdump
perccli /cx set snapdump set=on|off
perccli /cx set snapdump [ savecount=<value> | delayocr=<value> ]
perccli /cx get snapdump [ id=[ all | <value> file=<filename>] ] [norttdump]
perccli /cx delete snapdump [force]
The detailed description for each command follows.
perccli /cx show snapdump
This command shows the snapdump information on the controller.
Input example:
perccli /c0 show snapdump
perccli /cx set snapdump set=on|off
This command set enables or disables the snapdump on the controller.
On - Enables snapdump on the controller.
Off - Disables the snapdump on the controller.
Input example:
perccli /c0 set snapdump state = on
NOTE: Once snapdump is disabled on the controller it will persist through the updates and reboot until it is enabled.
perccli /cx set snapdump [ savecount=<value> | delayocr=<value> ]
This command sets the properties of snapdump information on the controller.
Input example:
perccli /c0 set snapdump savecount=20 delayocr=20
Table 1. Snapdump commandsThis table describes the properties of the snapdump commands.
Option
Value Range
Description
savecount
0-255
Number of times snapdump persists on the controller across reboots.
delayocr
15-60
Seconds that the controller has to collect the snapdump logs before OCR.
NOTE: The default values for savecount and delayocr are 4 and 15 respectively.
perccli /cx get snapdump [ id=[ all | <value> file=<filename>] ] [norttdump]
This command gets the controller snapdump data and saves the data to a file. Only the following combinations are supported:
perccli /c0 get snapdump [norttdump]
perccli /c0 get snapdump id=all [norttdump]
perccli /c0 get snapdump id=<value> file=fileName [norttdump]
Input example:
perccli /c0 get snapdump id=0 file=Snapdump.zip
Table 2. Snapdump commandsThis table describes the properties of the snapdump commands.
Option
Value Range
Description
ID
all | specifc ID
ID of the snapdump from the data displayed with show snapdump command.
if all is specified all available snapdumps will be extracted in zip format.
if ID suboption is not specified, then a Support Log download generation request is submitted and all snapdumps are downloaded, including on demand snapdumps.
filename
User specificed
file to be saved in zip format and later to be extracted.
norttdump
-
norrttdump is applicable only for windows. By default driver dump is saved to a file in windows. if norttdump is specified driver dump will not be saved.
perccli /cx delete snapdump [force]
This command deletes the controller snapdump information.
force - Deletes all the snapdumps present on the controller.
Input example:
perccli /c0 delete snapdump force
Data is not available for the Topic
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please provide ratings (1-5 stars).
Please select whether the article was helpful or not.
Comments cannot contain these special characters: <>()\