如何在linux下查看gpu信息

~$ lspci | grep -i vga
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1)

如果你想看gpu的详细信息,使用~$ lspci -v -s 01:00.0,则:
01:00.0 VGA compatible controller: NVIDIA Corporation GF119 [GeForce GT 610] (rev a1) (prog-if 00 [VGA controller])
    Subsystem: Device 7377:0000
    Flags: bus master, fast devsel, latency 0, IRQ 27
    Memory at fb000000 (32-bit, non-prefetchable) [size=16M]
    Memory at d0000000 (64-bit, prefetchable) [size=128M]
    Memory at de000000 (64-bit, prefetchable) [size=32M]
    I/O ports at ef00 [size=128]
    [virtual] Expansion ROM at fc000000 [disabled] [size=512K]
    Capabilities: <access denied>
    Kernel driver in use: nouveau
    Kernel modules: nvidiafb, nouveau

上一篇:Perst常用命令


下一篇:flume【源码分析】分析Flume的启动过程