A module/TUI for AMD GPU statistics
Project description
amdgpu_stats
A Python module/TUI for AMD GPU statistics. Please file an issue with feature requests or bug reports!
Screenshots
Main screen / stats
Usage graphs
Logs
Installation
pip install amdgpu-stats
To use the TUI, run amdgpu-stats
in your terminal of choice. For the module,
see below!
Module
Introduction:
In [1]: import amdgpu_stats.utils
In [2]: amdgpu_stats.utils.CARDS
Out[2]: {'card0': '/sys/class/drm/card0/device/hwmon/hwmon9'}
In [3]: amdgpu_stats.utils.get_core_stats('card0')
Out[3]: {'sclk': 640000000, 'mclk': 1000000000, 'voltage': 0.79, 'util_pct': 65}
In [4]: amdgpu_stats.utils.get_clock('core', format_freq=True)
Out[4]: '659 MHz'
For more information on what the module provides, please see:
- ReadTheDocs
help('amdgpu_stats.utils')
in your interpreter- The module source
Requirements
Only Linux
is supported. Information is completely sourced from sysfs
.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
amdgpu_stats-0.1.23.tar.gz
(11.3 kB
view hashes)
Built Distribution
Close
Hashes for amdgpu_stats-0.1.23-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a1ced430ba8da0834345b306259cc572849cbc58268c06a18a149d4cf5a8e8ad |
|
MD5 | 2dc5c4b08be678d13d1d324c3f2d4e48 |
|
BLAKE2b-256 | c8202a0c03a61e2d3387a8f6420692b34194d644d070c0e66026d2acf5d2d05f |