sysfs commands to read information about cooling devices:
Note
<x> in the table represents cooling device ID.
Table : Description of commands for cooling devices
| Commands | Description |
|---|---|
| ls /sys/class/thermal/cooling_device* | Lists all cooling devices and their IDs that the device contains |
| cat /sys/class/thermal/cooling_device<x>/type | Provides the name of the cooling device |
| cat /sys/class/thermal/cooling_device<x>/cur_state | Reads the existing mitigation state of the cooling device |
| cat /sys/class/thermal/cooling_device<x>/max_state | Reads the maximum supported mitigation state of the cooling device |

