environment
NAME
environment – display information about the filer’s physical environment
SYNOPSIS
environment [ ? ]environment chassis list-sensors
environment status
environment [ status ] shelf
environment [ status ] shelf_log
environment [ status ] shelf_stats
environment [ status ] shelf_power_status
environment [ status ] chassis
[ all | <class> | <class> | ... | <class> ]
where class is a set of jointly monitored chassis sensors, e.g., all the motherboard’s temperature sensors, or just one CPU fan sensor.
DESCRIPTION
The environment allows you to display information about the filer’s physical environment. This information comes from the filer’s environmental sensor readings. Invoking the environment command with no arguments, or with the ? argument will display the usage on a per filer basis.
USAGE
environmentenvironment ?
Displays the full command usage as follows:
Usage: environment status | [status] [shelf []] | [status] [chassis [all | Fans | CPU_Fans | Power | Temperature | PS1 | PS2 | list-sensors]]
NOTE: since chassis’ classes collection and their names are platform-dependent, the chassis usage is generated dynamically and will vary. Thus the example above represents just a specific filer’s configuration.
environment status
Displays all available environmental information, see the individual examples below for format and content.
environment shelf
environment status shelf
Displays the available environmental information for all shelves. Typical environmental shelf output looks like:
Environment for adapter 3: Shelves monitored: 1 enabled: yes Swap in progress? no Environmental failure? no EDM 1 (active): SES Configuration, via loop id 3 in shelf 0×0: logical identifier=0×3003040000000000 vendor identification=EuroLogc product identification=Eurologic EDM product revision level=0×01000101 Vendor-specific information: backplane byte=0x1e cabinet id=0×0 Backplane Type : Single Fibre Channel Backplane Backplane Function : Storage System Kernel Version : 1.0.A App. Version : 1.1.A Shelf:0 SES path:3.3 Device mask: 0x7f Power Supply present: 0×3; with error: 0×0 Fans present: 0×3; with error: 0×0 Temperature Sensor present: 0×1; with error: 0×0 SES Electronics present: 0×1; with error: 0×0 Shelf temperature: 29C (84F) High thresholds: critical: 55C (131F); warning 50C (122F) Low thresholds: critical: 0C (32F); warning 10C (50F) Disks physically present on adapter 3 Devices 0x1f-0×00: 0000007f Devices 0x3f-0×20: 00000000 Devices 0x5f-0×40: 00000000 Devices 0x7f-0×60: 00000000
environment shelf_log
environment status shelf_log
Displays shelf specific module log file information. Not all shelves support logging of this nature. Information displayed is vendor specific dependent on the module present. Logging is sent to /etc/log/shelflog directory and included as an attachment on autosupports. It is rotated with the weekly log rotations.
environment shelf_stats
environment status shelf_stats
Displays shelf specific module statistics information. Not all shelves support statistics of this nature. Information displayed is vendor specific dependent on the module present.
environment shelf_power_status
environment status shelf_power_status
Displays shelf power control status information. Not all shelves support power control status of this nature. Information displayed is vendor specific dependent on the module present.
environment chassis
environment chassis list-sensors
Displays all the sensors in the system, their current readings, states and the thresholds.
environment status chassis
Displays all non-shelf environmental information for the filer.
environment chassis [ all | <class> | <class> | ... |<class> ]
environment status chassis [ all | <class> <class> | ... |<class> ]
Displays the environmental status for the specified class (see NOTE above).
NOTE: environment [status] chassis will list the available chassis classes that can be viewed specifically.
EXAMPLES
environment status shelfproduces the environmental readings for the shelves attached to adapter 3 as follows:
No shelf environment available from adapter 0a. Environment for adapter 1: Shelves monitored: 1 enabled: yes Swap in progress? no Environmental failure? no EDM 0 (active): SES Configuration, via loop id 3 in shelf 0×0: logical identifier=0×3003040000000000 vendor identification=EuroLogc product identification=Eurologic EDM product revision level=0×01000101 Vendor-specific information: backplane byte=0x1e cabinet id=0×0 Backplane Type : Single Fibre Channel Backplane Backplane Function : Storage System Kernel Version : 1.0.A App. Version : 1.1.A Shelf:0 SES path:1.3 Device mask: 0x7f Power Supply present: 0×1; with error: 0×0 Fans present: 0×3; with error: 0×0 Temperature Sensor present: 0×1; with error: 0×0 SES Electronics present: 0×1; with error: 0×0 Shelf temperature: 30C (86F) High thresholds: critical: 55C (131F); warning 50C (122F) Low thresholds: critical: 0C (32F); warning 10C (50F) Disks physically present on adapter 1 Devices 0x1f-0×00: 0000007f Devices 0x3f-0×20: 00000000 Devices 0x5f-0×40: 00000000 Devices 0x7f-0×60: 00000000
-
SEE ALSO
sysconfig









































