※ Window의 작업관리자, ubuntu의 htop처럼 GPU의 사용량을 확인하게 해주는 nvtop 사용법.
※ 사용환경 : Ubuntu LTS 20
- nvtop 설치
$ sudo apt install nvtop
sudo가 없을 경우 $ apt-get install -y sudo 먼저 하고 nvtop 설치
- 설치 및 동작 확인
$ nvtop
- apt로 nvtop이 깔리지 않을 때
$ sudo apt install cmake libncurses5-dev libncursesw5-dev git
$ git clone https://github.com/Syllo/nvtop.git
GitHub - Syllo/nvtop: AMD and NVIDIA GPUs htop like monitoring tool
AMD and NVIDIA GPUs htop like monitoring tool. Contribute to Syllo/nvtop development by creating an account on GitHub.
github.com
$ mkdir -p nvtop/build && cd nvtop/build
$ cmake .. -DNVML_RETRIEVE_HEADER_ONLINE=True
$ make && sudo make install