Difference between revisions of "Nvidia-smi"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
Tags: Mobile web edit, Mobile edit
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
 +
nvidia-smi
 +
nvidia-smi -l 1
 +
[[watch]] -n 1 nvidia-smi
  
 
  nvidia-smi
 
  nvidia-smi

Revision as of 06:20, 7 May 2020

This article is a Draft. Help us to complete it.
nvidia-smi
nvidia-smi -l 1
watch -n 1 nvidia-smi
nvidia-smi
Sat Apr 11 11:31:22 2020
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 410.104      Driver Version: 410.104      CUDA Version: 10.0     |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  Tesla T4            On   | 00000000:21:01.0 Off |                    0 |
| N/A   35C    P0    26W /  70W |   2414MiB / 15079MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0     20148      C   /usr/bin/python                             2404MiB |
+-----------------------------------------------------------------------------+


macOS

In macOS there is no nvidia-smi command that comes with nvidia drivers. However, you could check this open-source alternative : https://github.com/phvu/cuda-smi

Edit in 2020 : As an alternative to nvidia-smi is Activity Monitor. Search on spotlight (cmd + space) and type Activity Monitor. When the program opens press cmd + 4. This will show you the active usage of GPU(s) on your system. I think this feature comes with High Sierra 10.13 prior to that there is no option for gpu history. [1]

Related terms

See also

  • https://apple.stackexchange.com/a/287627
  • Advertising: