$ cat /proc/driver/nvidia/version
NVRM version: NVIDIA UNIX x86_64 Kernel Module 460.32.03 Sun Dec 27 19:00:34 UTC 2020
GCC version: gcc version 9.3.0 (Ubuntu 9.3.0-17ubuntu1~20.04)
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 460.32.03 Driver Version: 460.32.03 CUDA Version: 11.2 |
|-------------------------------+----------------------+----------------------+
| 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 GeForce RTX 3080 Off | 00000000:01:00.0 Off | N/A |
| 76% 61C P2 319W / 320W | 4551MiB / 10015MiB | 100% Default |
| | | N/A |
+-------------------------------+----------------------+----------------------+
+-----------------------------------------------------------------------------+
| Processes: |
| GPU GI CI PID Type Process name GPU Memory |
| ID ID Usage |
|=============================================================================|
| 0 N/A N/A 958 G /usr/lib/xorg/Xorg 35MiB |
| 0 N/A N/A 1651 G /usr/lib/xorg/Xorg 85MiB |
| 0 N/A N/A 1784 G /usr/bin/gnome-shell 12MiB |
| 0 N/A N/A 27515 C ./bminer 4401MiB |
+-----------------------------------------------------------------------------+
nvidia-smi stats -h
nvidia-smi dmon -h
nvidia-smi daemon -h
nvidia-smi replay -h
nvidia-smi pmon -h
nvidia-smi topo -h
nvidia-smi drain -h
nvidia-smi nvlink -h
nvidia-smi clocks -h
nvidia-smi encodersessions -h
nvidia-smi fbcsessions -h
nvidia-smi vgpu -h
nvidia-smi mig -h
nvidia-smi compute-policy -h
nvidia-smi boost-slider -h
nvidia-smi -h
TODO
补充知识