Ubuntu系统查看版本

  1. uname -a,查看操作系统的发行版号和操作系统版本。

  2. uname -v,查看版本号。

  3. lsb_release -a,查看发行版本信息,并且方法可以适用于所有的Linux发行版本。

  4. cat /etc/issue,查看到当前是Linux什么版本系统。

  5. cat /proc/version,查看内核的版本号。

  6. nvidia-smi,查看GPU.

  7. (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 |
    +-----------------------------------------------------------------------------+

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值