Difference between revisions of "Nvidia-smi"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(12 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{Draft}}
 
{{Draft}}
 +
{{lowercase}}
  
 +
nvidia-smi
 +
nvidia-smi -l 1
 +
[[watch]] -n 1 nvidia-smi
  
 
+
nvidia-smi
nvidia-smi
 
 
<pre>
 
<pre>
 
Sat Apr 11 11:31:22 2020
 
Sat Apr 11 11:31:22 2020
Line 24: Line 27:
 
</pre>
 
</pre>
  
 +
 +
 +
== 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. <ref>https://apple.stackexchange.com/a/287627</ref>
 +
 +
== Related terms ==
 +
* <code>[[gpustat]]</code>
 +
* <code>[[glances]]</code> monitoring tool
 +
* <code>[[nvcc]]: [[nvcc --version]]</code>
 +
* [[NVIDIA Data Center GPU Manager (DCGM)]]
  
 
== See also ==
 
== See also ==
 +
* {{Nvidia tools}}
 
* {{Nvidia}}
 
* {{Nvidia}}
 +
 +
[[Category:Computing]]

Latest revision as of 14:30, 27 May 2024

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[edit]

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[edit]

See also[edit]

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