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 |
    +-----------------------------------------------------------------------------+
    
    
  • 相关阅读:
    精通搜索分析
    简析MonoTouch工作原理
    第二次结对编程作业
    第02组 团队Git现场编程实战
    第一次结对编程作业
    团队项目需求分析报告
    第一次个人编程作业
    软工第一次作业
    团队项目选题报告
    Rookey.Frame之数据库及缓存配置
  • 原文地址:https://www.cnblogs.com/bregman/p/6432829.html
Copyright © 2011-2022 走看看