赞
踩
uname -a,查看操作系统的发行版号和操作系统版本。
uname -v,查看版本号。
lsb_release -a,查看发行版本信息,并且方法可以适用于所有的Linux发行版本。
cat /etc/issue,查看到当前是Linux什么版本系统。
cat /proc/version,查看内核的版本号。
nvidia-smi,查看GPU.
- (base) cynthia@herri01-HP-Z4-G4-Workstation:~$ uname -a
- Linux herri01-HP-Z4-G4-Workstation 5.15.0-48-generic #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
- (base) cynthia@herri01-HP-Z4-G4-Workstation:~$ uname -v
- #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022
- (base) cynthia@herri01-HP-Z4-G4-Workstation:~$ lsb_release -a
- No LSB modules are available.
- Distributor ID: Ubuntu
- Description: Ubuntu 22.04 LTS
- Release: 22.04
- Codename: jammy
- (base) cynthia@herri01-HP-Z4-G4-Workstation:~$ cat /etc/issue
- Ubuntu 22.04 LTS \n \l
-
- (base) cynthia@herri01-HP-Z4-G4-Workstation:~$ cat /proc/version
- Linux version 5.15.0-48-generic (buildd@lcy02-amd64-080) (gcc (Ubuntu 11.2.0-19ubuntu1) 11.2.0, GNU ld (GNU Binutils for Ubuntu) 2.38) #54-Ubuntu SMP Fri Aug 26 13:26:29 UTC 2022
- (base) cynthia@herri01-HP-Z4-G4-Workstation:~$ nvidia-smi
- Fri Sep 23 13:18:26 2022
- +-----------------------------------------------------------------------------+
- | NVIDIA-SMI 515.65.01 Driver Version: 515.65.01 CUDA Version: 11.7 |
- |-------------------------------+----------------------+----------------------+
- | 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 TITAN RTX On | 00000000:21:00.0 Off | N/A |
- | 41% 30C P8 16W / 280W | 104MiB / 24576MiB | 0% Default |
- | | | N/A |
- +-------------------------------+----------------------+----------------------+
-
- +-----------------------------------------------------------------------------+
- | Processes: |
- | GPU GI CI PID Type Process name GPU Memory |
- | ID ID Usage |
- |=============================================================================|
- | 0 N/A N/A 2273 G /usr/lib/xorg/Xorg 90MiB |
- | 0 N/A N/A 2399 G ...ome-remote-desktop-daemon 3MiB |
- | 0 N/A N/A 2451 G /usr/bin/gnome-shell 8MiB |
- +-----------------------------------------------------------------------------+

Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。