Cx show events [reverse, Cx show aens [reverse, Cx show diag – Avago Technologies 3ware SAS 9750-16i4e User Manual

Page 52

Advertising
background image

Chapter 2. CLI Syntax Reference

44

3ware SATA+SAS RAID Controller Card CLI Guide, Version 10.2

oldest event messages appear at the top, and the most recent event messages
appear at the bottom. You can use the [reverse] attribute to list the most recent
event message at the top.

Example:

Typical output looks like:

//localhost> /c1 show alarms

Ctl Date Severity AEN Message

---------------------------------------------------------------------------

c0 [Fri Mar 21 2008 14:19:00] WARNING Drive removed: port=1

c0 [Fri Mar 21 2008 14:19:00] ERROR Degraded unit: unit=1, port=1

c0 [Fri Mar 21 2008 14:19:25] INFO Drive inserted: port=1

c0 [Fri Mar 21 2008 14:19:25] INFO Unit operational: unit=1

c0 [Fri Mar 21 2008 14:28:18] INFO Migration started: unit=0

c0 [Sat Mar 22 2008 05:16:49] INFO Migration completed: unit=0

c0 [Tue Apr 01 2008 12:34:02] WARNING Drive removed: port=1

c0 [Tue Apr 01 2008 12:34:22] ERROR Unit inoperable: unit=1

c0 [Tue Apr 01 2008 12:34:23] INFO Drive inserted: port=1

c0 [Tue Apr 01 2008 12:34:23] INFO Unit operational: unit=1

/cx show events [reverse]

The /cx show events command is the same as “/cx show alarms [reverse]”.
See details above.

/cx show AENs [reverse]

The /cx show AENS command is the same as “/cx show alarms [reverse]”.
See details above.

/cx show diag

The /cx show diag command extracts controller diagnostics for technical
support usage. The output contains general information about the controller,
followed by two logs. The first is the diagnostic log and the second is the
controller log. The diagnostic log contains output related to any anomaly or
error in the system, while the controller log is a snapshot of recent controller
activity. The diagnostic log contains persistent and usually less recent data
than the controller log.

Note that some characters might not be printable or rendered correctly (not
readable). You can save the output from this command to a file, where it can
be communicated to technical support or further studied with Linux utilities
such as od(1).

In order to redirect the output you must run the following command from a
command line, not from within the tw_cli shell.

tw_cli /c0 show diag > diag.txt

For more information, see “Outputting the CLI to a Text File” on page 9.

Advertising