A lightweight nvitop-like ROCm GPU monitor for AMD GPUs
Project description
rocmtop
rocmtop 是一个轻量级的 AMD ROCm GPU 监控工具,可以在终端实时展示显卡型号、温度、功耗、利用率、显存占用,以及主机 CPU/RAM 状态。
一键体验
# 本地开发版(可编辑安装)
git clone https://github.com/Liam-zzy/rocmtop.git
cd rocmtop
pip install -e .
rocmtop
或从 PyPI 安装正式版:
pip install rocmtop
rocmtop
功能亮点
- 实时刷新显卡型号、温度、功耗、GPU 利用率、VRAM 占用和显存读写活动
- 展示主机 CPU 利用率、load average、RAM 使用量和整机 GPU 总功耗
- Rich 彩色表格 + 进度条,适合 SSH 终端和多卡服务器
- 按
q/Q即刻退出 - 零复杂依赖,仅依赖
rich与readchar
运行要求
- AMD GPU 已安装 ROCm 驱动
- 系统路径可调用
rocm-smi
安装方式
| 场景 | 命令 |
|---|---|
| 开发/贡献 | pip install -e . |
| 生产使用 | pip install rocmtop |
使用方法
rocmtop # 默认 0.5 s 刷新 GPU 指标
rocmtop -i 1 # 每 1 秒刷新一次 GPU 指标
rocmtop --version
数据来源
- GPU 指标来自
rocm-smi --showuse --showmemuse --showtemp --showpower --json - 显卡型号来自
rocm-smi --showproductname --json - CPU/RAM 指标来自 Linux
/proc
作者
Ziyang Zhai (Liam)
项目地址: https://github.com/Liam-zzy/rocmtop
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
rocmtop-0.2.0.tar.gz
(7.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file rocmtop-0.2.0.tar.gz.
File metadata
- Download URL: rocmtop-0.2.0.tar.gz
- Upload date:
- Size: 7.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2240e5d8fb7f35504e0610313ae915f3cb5afc6cd3d25aef80ceb0444c74b8f1
|
|
| MD5 |
181146136bfd92d4d08cebe28b28377e
|
|
| BLAKE2b-256 |
be4d120f2b3438e77bf3608613a5feb2ed29345ba2d41794d69254b1c5937bc5
|
File details
Details for the file rocmtop-0.2.0-py3-none-any.whl.
File metadata
- Download URL: rocmtop-0.2.0-py3-none-any.whl
- Upload date:
- Size: 7.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
14875dc604234e1ed427bd30098f4467bd0433e505de1304d4bdcaf80895dd3a
|
|
| MD5 |
161eb590b9bc63c657daad602357e759
|
|
| BLAKE2b-256 |
53e71db6fd74c3e90f70fabe1f8bccf9a04eecc08c9aefb03213ff07e889277f
|