• 日常问题处理:linux系统查看显卡显存


    
    [root@b01r1n02 ~]# lspci | grep -i NVIDIA #查看nvidia显卡序号
    24:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1) #序号24:00.0
    74:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1) #序号74:00.0
    [root@b01r1n02 ~]# lspci -vs 74:00.0   #查看序号为74:00.0的显卡详细信息
    74:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1)
            Subsystem: NVIDIA Corporation Device 1306
            Physical Slot: 16-1
            Flags: bus master, fast devsel, latency 0, IRQ 405, NUMA node 7
            Memory at d9000000 (32-bit, non-prefetchable) [size=16M]
            Memory at 9000000000 (64-bit, prefetchable) [size=16G]  #显存为16G
            Memory at 9400000000 (64-bit, prefetchable) [size=32M]
            Capabilities: [60] Power Management version 3
            Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [78] Express Endpoint, MSI 00
            Capabilities: [100] Virtual Channel
            Capabilities: [258] L1 PM Substates
            Capabilities: [128] Power Budgeting <?>
            Capabilities: [420] Advanced Error Reporting
            Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
            Capabilities: [900] #19
            Capabilities: [ac0] #23
            Kernel driver in use: nvidia
            Kernel modules: nouveau, nvidia_drm, nvidia
    
    [root@b01r1n02 ~]# lspci -vs 24:00.0 #查看序号为24:00.0的显卡详细信息
    24:00.0 3D controller: NVIDIA Corporation GV100GL [Tesla V100 PCIe] (rev a1)
            Subsystem: NVIDIA Corporation Device 1306
            Physical Slot: 16
            Flags: bus master, fast devsel, latency 0, IRQ 404, NUMA node 2
            Memory at e8000000 (32-bit, non-prefetchable) [size=16M]
            Memory at 19400000000 (64-bit, prefetchable) [size=16G] #显存为16G
            Memory at 19800000000 (64-bit, prefetchable) [size=32M]
            Capabilities: [60] Power Management version 3
            Capabilities: [68] MSI: Enable+ Count=1/1 Maskable- 64bit+
            Capabilities: [78] Express Endpoint, MSI 00
            Capabilities: [100] Virtual Channel
            Capabilities: [258] L1 PM Substates
            Capabilities: [128] Power Budgeting <?>
            Capabilities: [420] Advanced Error Reporting
            Capabilities: [600] Vendor Specific Information: ID=0001 Rev=1 Len=024 <?>
            Capabilities: [900] #19
            Capabilities: [ac0] #23
            Kernel driver in use: nvidia
            Kernel modules: nouveau, nvidia_drm, nvidia
    
  • 相关阅读:
    楼宇及工业自动化总线协议介绍
    PROFIBUS,PROFINET,Ethernet三者的区别
    转:OSAL多任务资源分配机制
    Zigbee系列 学习笔记二(工程文件分析)
    Zigbee系列 学习笔记一(协议栈)
    STC12C5A60S2单片机 PWM调试
    单片机 IO口配置模式介绍
    串口通信校验方式
    STC12C5A60S2单片机 串口调试
    本地Nexus 3.3.2 启动
  • 原文地址:https://www.cnblogs.com/yj411511/p/15076199.html
Copyright © 2020-2023  润新知