Linked Questions

Popular Questions

interpreting the output of nividia-smi

Asked by At

When I do nvidia-smi in my computer I got

+-----------------------------------------------------------------------------+
| NVIDIA-SMI 470.199.02   Driver Version: 470.199.02   CUDA Version: 11.4     |
|-------------------------------+----------------------+----------------------+
| 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  NVIDIA GeForce ...  Off  | 00000000:01:00.0 Off |                  N/A |
| N/A   41C    P8     6W /  N/A |    844MiB /  7982MiB |      0%      Default |
|                               |                      |                  N/A |
+-------------------------------+----------------------+----------------------+

+-----------------------------------------------------------------------------+
| Processes:                                                                  |
|  GPU   GI   CI        PID   Type   Process name                  GPU Memory |
|        ID   ID                                                   Usage      |
|=============================================================================|
|    0   N/A  N/A      1209      G   /usr/lib/xorg/Xorg                 45MiB |
|    0   N/A  N/A      2170      G   /usr/lib/xorg/Xorg                529MiB |
|    0   N/A  N/A      2419      G   /usr/bin/gnome-shell               15MiB |
|    0   N/A  N/A      2846      G   ...AAAAAAAAA= --shared-files        9MiB |
|    0   N/A  N/A    807156      C   ...rsions/3.8.16/bin/python3      109MiB |
|    0   N/A  N/A   3761361      G   ...AAAAAAAAA= --shared-files       11MiB |
+-----------------------------------------------------------------------------+

As you can see in the last part of the output there seems to be some processes using the GPU. However, the output is truncated. I would like to see what kind of processes are thiese. How can I do that?

I tried ps -a and I could see that one is simply "python" but the other processes could not be found. (based on their PID)

Related Questions