Bundled with LeSysBot
cpu-temp
CPU temperature from Linux thermal sensors.
Install#
Nothing to do — this package ships inside LeSysBot and is available as soon as the installer finishes.
Tools#
This package exposes 1 tool.
cpu_temp()#
Report current CPU temperature — the hottest sensor plus a per-sensor breakdown.
Parameters
Takes no parameters.
Notes#
- Reads Linux /sys thermal sensors directly, so there is nothing to install.
- On Linux the official Linux collection's temperature package is a superset of this one — it adds GPU readings and a wider set of sensor chips.
Source#
Every package is a folder holding a README.md and a tool.py. Read this one on GitHub: lesysbot/lesysbot/tools/cpu-temp.
To write your own, see Writing tools.