Centos 7 查看显卡型号

有一台服务器安装的centos 7.6,想查看显卡的型号

[root@localhost ~]# cat /etc/redhat-release 
CentOS Linux release 7.6.1810 Core)

 

[root@localhost ~]# lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation Device 2184 rev a1) ##显卡编号
[root@localhost ~]# lshw -numeric -C display
  *-display                 
       description: VGA compatible controller
       product: NVIDIA Corporation [10DE:2184] ##按照10进制打印出来
       vendor: NVIDIA Corporation [10DE]
       physical id: 0
       bus info: pci@0000:01:00.0
       version: a1
        64 bits
       clock: 33MHz
       capabilities: pm msi pciexpress vga_controller bus_master cap_list rom
       configuration: driver=nvidia latency=0
       resources: irq:146 memory:de000000-deffffff memory:c0000000-cfffffff memory:d0000000-d1ffffff ioport:e000size=128) memory:df000000-df07ffff

在网站上打开,输入数字,就可以查询处显卡具体的型号
http://pci-ids.ucw.cz/mods/PC/10de?action=help?help=pci

 

 N卡

[root@localhost ~]# nvidia-smi
Mon Feb  8 15:42:43 2021       
+-----------------------------------------------------------------------------+
| NVIDIA-SMI 430.40       Driver Version: 430.40       CUDA Version: 10.1     |
|-------------------------------+----------------------+----------------------+
| 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 1660    Off  | 00000000:01:00.0 Off |                  N/A |
|  0%   44C    P0    25W / 140W |    389MiB /  5944MiB |      0%      Default |
+-------------------------------+----------------------+----------------------+
                                                                               
+-----------------------------------------------------------------------------+
| Processes:                                                       GPU Memory |
|  GPU       PID   Type   Process name                             Usage      |
|=============================================================================|
|    0      5472      C   /opt/***/jdk/bin/java            379MiB |
+-----------------------------------------------------------------------------+
You have mail in /var/spool/mail/root

  

  

 

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的电子邮箱地址不会被公开。 必填项已用 * 标注