Bundled with LeSysBot
gpu-temp
NVIDIA GPU temperature via nvidia-smi.
Install#
Nothing to do — this package ships inside LeSysBot and is available as soon as the installer finishes.
Tools#
This package exposes 1 tool.
gpu_temp()#
Report the current temperature of each NVIDIA GPU in the machine.
Parameters
Takes no parameters.
Notes#
- Requires the NVIDIA driver's nvidia-smi to be on PATH. AMD and Intel GPUs are not covered here — on Linux, use the Linux collection's temperature package, which reads amdgpu, radeon, nouveau, i915, and xe through hwmon.
Source#
Every package is a folder holding a README.md and a tool.py. Read this one on GitHub: lesysbot/lesysbot/tools/gpu-temp.
To write your own, see Writing tools.