nvidia-smi指令

Wed Mar 29 19:39:28 2017      
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 367.48                 Driver Version: 367.48                    |
|-------------------------------+----------------------+----------------------+
| 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 M40 24GB      Off  | 0000:04:00.0     Off |                    0 |
| N/A   34C    P0    55W / 250W |      0MiB / 22939MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
|   1  Tesla M40 24GB      Off  | 0000:82:00.0     Off |                    0 |
| N/A   33C    P0    60W / 250W |      0MiB / 22939MiB |     59%      Default |
+-------------------------------+----------------------+----------------------+
                                                                              
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID  Type  Process name                               Usage      |
|=============================================================================|
|  No running processes found                                                 |
+-----------------------------------------------------------------------------+

可以查询GPU型号,温度,风扇转速,显存使用。

输入:nvidia-smi -l 5 ,每5秒输出一次GPU的状态。

输入:nvidia-smi -L显示:

GPU 0: Tesla M40 24GB (UUID: GPU-c954b8e3-45b8-3a7f-17cd-c5f53af64b24)
GPU 1: Tesla M40 24GB (UUID: GPU-91c4f929-d359-cc6c-e86c-6df8e4d06dd2)


http://journeytaste.blog.163.com/blog/static/230089074201571271618134/


你可能感兴趣的:(GPU,NVIDIA)