Skip to content

emka.web.id

Menu
  • Home
  • Indeks Artikel
  • Tutorial
  • Tentang Kami
Menu

Cara Install & Penggunaan Tool Monitoring NVIDIA di Linux

Posted on December 30, 2020 by Syauqi Wiryahasana
Bagi pengguna NVIDIA yang (berhasil) menggunakan GPU ini di Linux, ada satu tool buatan dari NVIDIA untuk melakukan monitoring interface GPU, diberi nama nvidia-smi. NVIDIA-SMI adalah kependekan dari NVIDIA System Management Interface, bisa digunakan untuk monitoring semua versi GPU NVIDIA yaitu Tesla, Quadro, GRID, dan GeForce. untuk menginstall NVIDIA-SMI: [sourcecode]sudo apt install nvidia-smi[/sourcecode] untuk menjalankannya silakan gunakan perintah: [sourcecode]nvidia-smi -q -g 0 -d UTILIZATION -l 1[/sourcecode] contoh output:
   
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 450.80.02    Driver Version: 450.80.02    CUDA Version: 11.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|                               |                      |               MIG M. |
|===============================+======================+======================|
|   0  GeForce GTX 165...  Off  | 00000000:01:00.0  On |                  N/A |
| N/A   40C    P8     3W /  N/A |   1011MiB /  3911MiB |      2%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+
atau menggunakan dengan perintah: [sourcecode]sudo nvidia-smi[/sourcecode] akan menghasilkan output seperti ini:
+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      2454      G   /usr/lib/xorg/Xorg                100MiB |
|    0   N/A  N/A      3504      G   /usr/lib/xorg/Xorg                357MiB |
|    0   N/A  N/A      3689      G   /usr/bin/gnome-shell              179MiB |
|    0   N/A  N/A      4614      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      5036      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      5143      G   /usr/lib/firefox/firefox            1MiB |
|    0   N/A  N/A      6406      G   ...AAAAAAAA== --shared-files      225MiB |
|    0   N/A  N/A     14462      G   ...AAAAAAAA== --shared-files      131MiB |
+-----------------------------------------------------------------------------+
Seedbacklink

Recent Posts

TENTANG EMKA.WEB>ID

EMKA.WEB.ID adalah blog seputar teknologi informasi, edukasi dan ke-NU-an yang hadir sejak tahun 2011. Kontak: kontak@emka.web.id.

©2024 emka.web.id Proudly powered by wpStatically