Administrator Guide

List current sensors
Description
Lists the current sensors accessible from the specified enclosure.
Command syntax
shmcli (list current sensors | listcurrentsensors | lcs) (-a=<(SAS WWID| AdapterIndex)> -
enc=<(WWN | EnclIndex)> [-outputformat=<SupportedOutputFormats>] | -enc=<WWN> [-
outputformat=<SupportedOutputFormats>] | [-h])
Parameters
Table 15. List current sensors
Parameter Description
-h, -help
Provides more information about the command, description, and
usage.
-outputformat
You can specify the following output formats: XML or JSON.
-a, -adapter
Specify the adapter used for the command. This is either SAS
WWID or the AdapterIndex.
-enc
Specify the enclosure is used for the command. This is either WWN
or the EnclosureIndex.
Command examples
list current sensors -a = 1 -enc = 500a123456789012
list current sensors -a = 1 -enc = 0
list current sensors -enc = 500a123456789012 -outputformat = xml
List failed drives
Description
Lists the drives that have been predicted to fail and/or drives which have returned errors through system calls. The output describes the
call attempted and the SCSI error codes returned.
Command syntax
secli (list failed drives | lfd) ([-a=<(SAS WWID | AdapterIndex)>] [-enc=<(WWN | EnclIndex)>
[-w= <DrawerIndex>]] [-outputformat=<SupportOutputFormats>] [-verbose] | -enc=<WWN> [-
outputformat=<SupportedOutputFormats>] [-verbose] | [-h])
Parameters
Table 16. List failed drives
Parameter Description
-a
Specifies the adapter used for the command. This is either SAS WWID or
AdapterIndex.
-enc
Specifies the enclosure used for the command. This is either WWN or EnclIndex.
-w
Specifies the drawer index used for the command.
-h
Provides more information about the command, description, and usage.
28 CLI reference