Skip to content

Commit

Permalink
[Mellanox] add document for thermal control related cli (#832)
Browse files Browse the repository at this point in the history
* [Mellanox] add document for thermal control related cli

* Update review comments thermal zones -> thermal sensors

* Make example better
  • Loading branch information
Junchao-Mellanox authored Mar 17, 2020
1 parent 7105400 commit 45c6c68
Showing 1 changed file with 80 additions and 0 deletions.
80 changes: 80 additions & 0 deletions doc/Command-Reference.md
Original file line number Diff line number Diff line change
Expand Up @@ -708,6 +708,86 @@ This command displays the status of the device's power supply units
PSU 2 OK
```

**show platform fan**

This command displays the status of the device's fans

- Usage:
```
show platform fan
```

- Example:
```
admin@sonic:~$ show platform fan
FAN Speed Direction Presence Status Timestamp
----------- -------- ----------- ---------- -------- -----------------
fan1 34% intake Present OK 20200302 06:58:56
fan2 43% intake Present OK 20200302 06:58:56
fan3 38% intake Present OK 20200302 06:58:56
fan4 49% intake Present OK 20200302 06:58:57
fan5 38% exhaust Present OK 20200302 06:58:57
fan6 48% exhaust Present OK 20200302 06:58:57
fan7 39% exhaust Present OK 20200302 06:58:57
fan8 48% exhaust Present OK 20200302 06:58:57
```

**show platform temperature**

This command displays the status of the device's thermal sensors

- Usage:
```
show platform temperature
```

- Example:
```
admin@sonic:~$ show platform temperature
NAME Temperature High Th Low Th Crit High Th Crit Low Th Warning Timestamp
---------------------- ------------- --------- -------- -------------- ------------- --------- -----------------
Ambient ASIC Temp 37.0 100.0 N/A 120.0 N/A False 20200302 06:58:57
Ambient Fan Side Temp 28.5 100.0 N/A 120.0 N/A False 20200302 06:58:57
Ambient Port Side Temp 31.0 100.0 N/A 120.0 N/A False 20200302 06:58:57
CPU Core 0 Temp 36.0 87.0 N/A 105.0 N/A False 20200302 06:59:57
CPU Core 1 Temp 38.0 87.0 N/A 105.0 N/A False 20200302 06:59:57
CPU Pack Temp 38.0 87.0 N/A 105.0 N/A False 20200302 06:59:57
PSU-1 Temp 28.0 100.0 N/A 120.0 N/A False 20200302 06:59:58
PSU-2 Temp 28.0 100.0 N/A 120.0 N/A False 20200302 06:59:58
xSFP module 1 Temp 31.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 2 Temp 35.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 3 Temp 32.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 4 Temp 33.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 5 Temp 34.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 6 Temp 36.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 7 Temp 33.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 8 Temp 33.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 9 Temp 32.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 10 Temp 38.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 11 Temp 38.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 12 Temp 39.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 13 Temp 35.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 14 Temp 37.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 15 Temp 36.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 16 Temp 36.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 17 Temp 32.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 18 Temp 34.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 19 Temp 30.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 20 Temp 31.5 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 21 Temp 34.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 22 Temp 34.4 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 23 Temp 34.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 24 Temp 35.6 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 25 Temp 38.0 70.0 N/A 90.0 N/A False 20200302 06:59:57
xSFP module 26 Temp 32.2 70.0 N/A 90.0 N/A False 20200302 06:59:58
xSFP module 27 Temp 39.0 70.0 N/A 90.0 N/A False 20200302 06:59:58
xSFP module 28 Temp 30.1 70.0 N/A 90.0 N/A False 20200302 06:59:58
xSFP module 29 Temp 32.0 70.0 N/A 90.0 N/A False 20200302 06:59:58
xSFP module 30 Temp 35.3 70.0 N/A 90.0 N/A False 20200302 06:59:58
xSFP module 31 Temp 31.0 70.0 N/A 90.0 N/A False 20200302 06:59:58
xSFP module 32 Temp 39.5 70.0 N/A 90.0 N/A False 20200302 06:59:58
```

#### Transceivers
Displays diagnostic monitoring information of the transceivers

Expand Down

0 comments on commit 45c6c68

Please sign in to comment.