Ubuntu 16.04 下查看gpu的运行情况

1.查看gpu使用情况

nvidia-smi

2.每秒显示异常

watch -n 1 nvidia-smi
hndx532@hndx532-PowerEdge-T630:~$ nvidia-smi
Mon Nov 12 20:13:17 2018
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 390.87                 Driver Version: 390.87                    |
|-------------------------------+----------------------+----------------------+
| GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
| Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
|===============================+======================+======================|
|   0  GeForce GTX 108...  Off  | 00000000:04:00.0  On |                  N/A |
| 34%   54C    P2   106W / 250W |  10797MiB / 11177MiB |     26%      Default |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      1095      G   /usr/lib/xorg/Xorg                            14MiB |
|    0      7921      C   /home/hndx532/anaconda2/bin/python         10771MiB |
+-----------------------------------------------------------------------------+
hndx532@hndx532-PowerEdge-T630:~$

 

你可能感兴趣的:(Ubuntu 16.04 下查看gpu的运行情况)