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.
lsenclosurestats -filtervalue "enclosure_id>2"
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.
lsenclosurestatsThis is the resulting output:
CMMVC6051E An unsupported action was selected.
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. |
lsenclosurestats
The resulting output:
enclosure_id stat_name stat_current stat_peak stat_peak_time 1 power_w 2200 2500 120402103212 1 temp_c 35 36 120402103212 1 temp_f 95 97 120402103212 2 power_w 2300 2600 120402102917 2 temp_c 36 37 120402102917 2 temp_f 97 98 120402102917 4 power_w 2100 2400 120402103202 4 temp_c 33 35 120402103202 4 temp_f 93 95 120402103202
lsenclosurestats -history power_w 1
The resulting output:
enclosure_id sample_time stat_name stat_value 1 120402105137 power_w 2282 1 120402105142 power_w 2290 1 120402105147 power_w 2281 1 120402105152 power_w 2290 1 120402105157 power_w 2281 1 120402105202 power_w 2289 1 120402105207 power_w 2282 1 120402105212 power_w 2289 1 120402105217 power_w 2281 1 120402105222 power_w 2289 1 120402105227 power_w 2281 1 120402105232 power_w 2290 1 120402105237 power_w 2282 1 120402105242 power_w 2289 1 120402105247 power_w 2282 1 120402105252 power_w 2289 1 120402105257 power_w 2282 1 120402105302 power_w 2289 1 120402105307 power_w 2282 1 120402105312 power_w 2289 1 120402105317 power_w 2282 1 120402105322 power_w 2287 1 120402105327 power_w 2281 1 120402105332 power_w 2290 1 120402105337 power_w 2281 1 120402105342 power_w 2289 1 120402105347 power_w 2282 1 120402105352 power_w 2289 1 120402105357 power_w 2281 1 120402105402 power_w 2289 1 120402105407 power_w 2281 1 120402105412 power_w 2289 1 120402105417 power_w 2282 1 120402105422 power_w 2289 1 120402105427 power_w 2282 1 120402105432 power_w 2289 1 120402105437 power_w 2281 1 120402105442 power_w 2290 1 120402105447 power_w 2281 1 120402105452 power_w 2290 1 120402105457 power_w 2282 1 120402105502 power_w 2287 1 120402105507 power_w 2281 1 120402105512 power_w 2290 1 120402105517 power_w 2281 1 120402105522 power_w 2289 1 120402105527 power_w 2282 1 120402105532 power_w 2290 1 120402105537 power_w 2281 1 120402105542 power_w 2290 1 120402105547 power_w 2281 1 120402105552 power_w 2290 1 120402105557 power_w 2281 1 120402105602 power_w 2289 1 120402105607 power_w 2282 1 120402105612 power_w 2289 1 120402105617 power_w 2281 1 120402105622 power_w 2289 1 120402105627 power_w 2281 1 120402105632 power_w 2290
This table provides the possible values that are applicable to the values that are displayed for the stat_name attribute.
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. |