12 logging commands – Avago Technologies MegaRAID SAS 9240-4i User Manual

Page 48

Advertising
background image

LSI Corporation

- 48 -

StorCLI Reference Manual

January 2013

Chapter 4: Working with the Storage Command Line Tool

Logging Commands

storcli /cx/px|pall set linkspeed=0(auto)|1.5|3|6|12

This command sets the PHY link speed. You can set the speed to 1.5 Gb/s, 3 Gb/s, 6 Gb/s, or 12 Gb/s. The linkspeed is
set to auto when you specify linkspeed = 0.

Input example:

storcli /c0/p0 set linkspeed=1.5

storcli /cx/px|pall show

This command shows the basic PHY layer information.

Input example:

storcli /c1/p0 show

storcli /cx/px|pall show all

This command shows all the PHY layer information.

Input example:

storcli /c1/p0 show all

4.12

Logging Commands

The Storage Command Line Tool supports the following commands to generate and maintain log files:

storcli /cx clear events

storcli /cx delete termlog

storcli /cx show events file=<absolute path>

storcli /cx show eventloginfo

storcli /cx show termlog type=config|contents

The detailed description for each command follows.

storcli /cx delete events

This command deletes all records in the event log.

Input example:

storcli /c0 delete events

storcli /cx delete termlog

This command clears the TTY (firmware log for issue troubleshooting) logs.

Input example:

storcli /c0 delete termlog

storcli /cx show events file=<absolute path>

This command prints the system log to a text file and saves the file in the specified location.

Input example:

storcli /c0 show events file=C:\Users\brohan\test\eventreports

Advertising