DEPRECATED: check out NVITOP instead for better support and functionality across platforms
Parse and display performance counter from psutil
and nvidia-smi
.
Minimum height:
- If GPU: 17 + #CPUs/2
- Else: 9 + #CPUs/2
Unfortunately, temperature reading for CPU is not available.
psutil
: load CPU+MEM stats.termcolor
: color stuff.xmltodict
: parsenvidia-smi
output during GPU stats load.
-t
or--time
: Change default refresh time tot
seconds (default: 2).-d
or--disable_gpu
: Disable GPU stats load and display.-c
or--disable_cpu
: Clear screen everyc
prints (default: 5).
- Install
requirements.txt
- Run with:
python main.py