lsenclosurestats

Use the lsenclosurestats command to display the most recent values (averaged) of all enclosure statistics. It can also display a history of those values for any subset of the available statistics.

Syntax

Read syntax diagramSkip visual syntax diagram lsenclosurestats -minutes-hours-days-history stat_listenclosure_id

Parameters

-delim delimiter
(Optional) Specify a delimiter to separate data in the output.
-nohdr
(Optional) Suppress the headings in the output.
-filtervalue attribute=value
(Optional) Specifies a list of one or more filters. Only objects with a value that matches the filter attribute value are displayed.
-filtervalue?
(Optional) Displays a list of valid filter attributes.
-history stat_list
(Optional) Produces a history of values for enclosure statistics.
-minutes
(Optional) Displays stats at minutes granularity.
-hours
(Optional) Displays stats at hours granularity.
-days
(Optional) Show stats at days granularity.
Note:
  • Flags are mutually exclusive. In absence of any the live (5 sec) samples are displayed and used with or without -history parameter.
  • Each granularity will show up to 60 samples per stat when used with -history parameter.
enclosure_id
(Optional) Indicates the unique enclosure identifier (a number in the range 1 - 99).

Description

Remember: This command cannot be used for products that do not support environmental statistics.

If you specify -history stat_list you must also specify enclosure_id. Filtering is supported for the concise view but not the detailed view.

Multiple statistical histories can be requested. The limit is the current maximum number of different statistical names published in the concise view. The concise view defines the output order.

For the detailed view, enclosure power is averaged over thirty seconds to provide immediate power.
Note: Averaging applies only to populated samples
Enclosure power is not averaged in the output if -history is specified.
The following is an invocation example for products that do not support environmental statistics - a message is displayed:
lsenclosurestats
This is the resulting output:
CMMVC6051E An unsupported action was selected.
This table displays information about chassis-specific enclosure properties and shows possible outputs for products that support environmental statistics.
Table 1. lsenclosurestats outputs
Attribute Description
enclosure_id Indicates the enclosure identifier; it can be a numeric character in the range 1 - 264.
sample_time Indicates the time during which the sample occurred.
stat_name Indicates the name of the statistical field.
stat_current Indicates the current value of the statistical field.
stat_peak Indicates the peak value of the statistic field. The last 5 minutes are used for samples.
stat_peak_time Indicates the time that the peak occurred.
stat_value Indicates the value of the statistic.
Remember: Filtering is supported on the enclosure_id and stat_name fields by using the concise view.

This table provides the possible values that are applicable to the values that are displayed for the stat_name attribute.

Table 2. Stat_name field values
Value Description
power_w Displays the power that is consumed in watts.
temp_c Displays the ambient temperature in Celsius.
temp_f Displays the ambient temperature in Fahrenheit.