🐶

【Better than ndivia-smi】Introduction of 'nvitop' and 'Glances'

2024/08/31に公開

This time, I introduce you 'nvitop' and 'Glances' as a new option to visualize GPU and CPU resources. Are you using 'ndivia-smi' now? it is good, but 'nvitop' is better more.

1. nvitop

It used as an alternative of 'nvidia-smi'.

・Install

pip install nvitop

・Use

nvitop

・Result

It is refleshing in real time, you can check the usage of GPU and CPU intuitive.
press q to quit.

2. Glances

It used as an alternative of 'top'.

・Install

pip install glances

・Use

glances

You can choose the procees and pin by press e, kill by press k.

3. Summary

This time, I introduced 2 libraries for check the GPU and CPU resources usage. Please try it.

Discussion