zoukankan      html  css  js  c++  java
  • linux查看显卡

    查看 nvidia 显卡

    $ lspci | grep -i nvidia
    02:00.0 3D controller: nVidia Corporation Device 1023 (rev a1)
    03:00.0 3D controller: nVidia Corporation Device 1023 (rev a1)
    
    $ lspci -v -s 02:00.0
    02:00.0 3D controller: nVidia Corporation Device 1023 (rev a1)
    	Subsystem: nVidia Corporation Device 097e
    	Flags: bus master, fast devsel, latency 0, IRQ 96
    	Memory at de000000 (32-bit, non-prefetchable) [size=16M]
    	Memory at 381800000000 (64-bit, prefetchable) [size=400000000]
    	Memory at 381c00000000 (64-bit, prefetchable) [size=32M]
    	Capabilities: <access denied>
    	Kernel driver in use: nvidia
    	Kernel modules: nvidia, nouveau, nvidiafb
    
    

    或者 nvidia-smi

    Thu Feb 23 11:49:10 2017
    +------------------------------------------------------+
    | NVIDIA-SMI 352.39     Driver Version: 352.39         |
    |-------------------------------+----------------------+----------------------+
    | GPU  Name        Persistence-M| Bus-Id        Disp.A | Volatile Uncorr. ECC |
    | Fan  Temp  Perf  Pwr:Usage/Cap|         Memory-Usage | GPU-Util  Compute M. |
    |===============================+======================+======================|
    |   0  Tesla K40m          Off  | 0000:02:00.0     Off |                    0 |
    | N/A   19C    P8    20W / 235W |     22MiB / 11519MiB |      0%      Default |
    +-------------------------------+----------------------+----------------------+
    |   1  Tesla K40m          Off  | 0000:03:00.0     Off |                    0 |
    | N/A   34C    P0   116W / 235W |   7194MiB / 11519MiB |     96%      Default |
    +-------------------------------+----------------------+----------------------+
    
    +-----------------------------------------------------------------------------+
    | Processes:                                                       GPU Memory |
    |  GPU       PID  Type  Process name                               Usage      |
    |=============================================================================|
    |    1     21130    C   ./build/tools/caffe                           5225MiB |
    |    1     24082    C   ./build/tools/caffe                           1940MiB |
    +-----------------------------------------------------------------------------+
    
    
  • 相关阅读:
    (一)IOC 容器:【2】@ComponentScan 自动扫描组件&指定扫描规则
    (一)IOC 容器:【11】Aware 注入Spring底层组件
    (一)IOC 容器:【10】@Autowired 自动装配
    (一)IOC 容器:【3】@Scope 设置组件作用域
    (一)IOC 容器:【8】Bean组件的生命周期
    每日日报7月13日
    每日日报7月12日
    每日日报7月11日
    Prism中的WeakEventHandlerManager
    博客开通标记
  • 原文地址:https://www.cnblogs.com/bregman/p/6432829.html
Copyright © 2011-2022 走看看