安装 lspci
首先解决CentOS lspci(command not found)方法
$ yum whatprovides */lspci
将会得到如下的显示内容
pciutils-3.1.4-9.el6.x86_64 : PCI bus related utilities
Repo : base
Matched from:
Filename : /sbin/lspci
在终端中输入
$ yum install pciutils
Linux查看显卡信息:
lspci | grep -i vga
[root@dwdefwq ~]# lspci | grep -i vga
07:00.0 VGA compatible controller: Device 19e5:1711 (rev 01)
前边的序号“07:00.0”是显卡的代号,查看指定显卡的详细信息用以下指令:
lspci -v -s 00:0f.0