nvidia显卡Tesla查看GPU使用情况

使用命令nvidia-smi可以查看nvidia显卡Tesla查看GPU使用情况。

例如:

[root@localhost ~]# nvidia-smi -a

==============NVSMI LOG==============

Timestamp                           : Sat May 10 13:19:20 2014
Driver Version                      : 331.67

Attached GPUs                       : 2
GPU 0000:03:00.0
    Product Name                    : Tesla K10.G1.8GB
    Display Mode                    : Disabled
    Display Active                  : Disabled
    Persistence Mode                : Disabled
    Accounting Mode                 : Disabled
    Accounting Mode Buffer Size     : 128
    Driver Model
        Current                     : N/A
        Pending                     : N/A
    Serial Number                   : 0325112060091
    GPU UUID                        : GPU-ce2c3f63-68b1-fba8-c5c2-83ebda82bc88
    Minor Number                    : 0
    VBIOS Version                   : 80.04.59.00.1B
    Inforom Version
        Image Version               : 2055.0200.01.04
        OEM Object                  : 1.1
        ECC Object                  : 2.0
        Power Management Object     : N/A
    GPU Operation Mode
        Current                     : N/A
        Pending                     : N/A
    PCI
        Bus                         : 0x03
        Device                      : 0x00
        Domain                      : 0x0000
        Device Id                   : 0x118F10DE
        Bus Id                      : 0000:03:00.0
        Sub System Id               : 0x097010DE
        GPU Link Info
            PCIe Generation
                Max                 : 3
                Current             : 3
            Link Width
                Max                 : 16x
                Current             : 16x
        Bridge Chip
            Type                    : PLX
            Firmware                : 0xF0470F00
    Fan Speed                       : N/A
    Performance State               : P0
    Clocks Throttle Reasons
        Idle                        : Not Active
        Applications Clocks Setting : Not Active
        SW Power Cap                : Not Active
        HW Slowdown                 : Not Active
        Unknown                     : Not Active
    FB Memory Usage
        Total                       : 3583 MiB
        Used                        : 9 MiB
        Free                        : 3574 MiB
    BAR1 Memory Usage
        Total                       : 256 MiB
        Used                        : 2 MiB
        Free                        : 254 MiB
    Compute Mode                    : Default
    Utilization
        Gpu                         : 0 %
        Memory                      : 0 %
    Ecc Mode
        Current                     : Enabled
        Pending                     : Enabled
    ECC Errors
        Volatile
            Single Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
            Double Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
        Aggregate
            Single Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
            Double Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
    Retired Pages
        Single Bit ECC              : N/A
        Double Bit ECC              : N/A
        Pending                     : N/A
    Temperature
        Gpu                         : 39 C
    Power Readings
        Power Management            : Supported
        Power Draw                  : 42.29 W
        Power Limit                 : 117.50 W
        Default Power Limit         : 117.50 W
        Enforced Power Limit        : 117.50 W
        Min Power Limit             : 85.00 W
        Max Power Limit             : 125.00 W
    Clocks
        Graphics                    : 745 MHz
        SM                          : 745 MHz
        Memory                      : 2500 MHz
    Applications Clocks
        Graphics                    : 745 MHz
        Memory                      : 2500 MHz
    Default Applications Clocks
        Graphics                    : 745 MHz
        Memory                      : 2500 MHz
    Max Clocks
        Graphics                    : 745 MHz
        SM                          : 745 MHz
        Memory                      : 2500 MHz
    Compute Processes               : None

GPU 0000:04:00.0
    Product Name                    : Tesla K10.G1.8GB
    Display Mode                    : Disabled
    Display Active                  : Disabled
    Persistence Mode                : Disabled
    Accounting Mode                 : Disabled
    Accounting Mode Buffer Size     : 128
    Driver Model
        Current                     : N/A
        Pending                     : N/A
    Serial Number                   : 0325112060091
    GPU UUID                        : GPU-f90b88ef-c884-a61f-25dd-dbedb8529941
    Minor Number                    : 1
    VBIOS Version                   : 80.04.59.00.1C
    Inforom Version
        Image Version               : 2055.0200.01.04
        OEM Object                  : 1.1
        ECC Object                  : 2.0
        Power Management Object     : N/A
    GPU Operation Mode
        Current                     : N/A
        Pending                     : N/A
    PCI
        Bus                         : 0x04
        Device                      : 0x00
        Domain                      : 0x0000
        Device Id                   : 0x118F10DE
        Bus Id                      : 0000:04:00.0
        Sub System Id               : 0x097010DE
        GPU Link Info
            PCIe Generation
                Max                 : 3
                Current             : 3
            Link Width
                Max                 : 16x
                Current             : 16x
        Bridge Chip
            Type                    : PLX
            Firmware                : 0xF0470F00
    Fan Speed                       : N/A
    Performance State               : P0
    Clocks Throttle Reasons
        Idle                        : Not Active
        Applications Clocks Setting : Not Active
        SW Power Cap                : Not Active
        HW Slowdown                 : Not Active
        Unknown                     : Not Active
    FB Memory Usage
        Total                       : 3583 MiB
        Used                        : 9 MiB
        Free                        : 3574 MiB
    BAR1 Memory Usage
        Total                       : 256 MiB
        Used                        : 2 MiB
        Free                        : 254 MiB
    Compute Mode                    : Default
    Utilization
        Gpu                         : 0 %
        Memory                      : 0 %
    Ecc Mode
        Current                     : Enabled
        Pending                     : Enabled
    ECC Errors
        Volatile
            Single Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
            Double Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
        Aggregate
            Single Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
            Double Bit            
                Device Memory       : 0
                Register File       : N/A
                L1 Cache            : N/A
                L2 Cache            : N/A
                Texture Memory      : N/A
                Total               : 0
    Retired Pages
        Single Bit ECC              : N/A
        Double Bit ECC              : N/A
        Pending                     : N/A
    Temperature
        Gpu                         : 32 C
    Power Readings
        Power Management            : Supported
        Power Draw                  : 34.86 W
        Power Limit                 : 117.50 W
        Default Power Limit         : 117.50 W
        Enforced Power Limit        : 117.50 W
        Min Power Limit             : 85.00 W
        Max Power Limit             : 125.00 W
    Clocks
        Graphics                    : 745 MHz
        SM                          : 745 MHz
        Memory                      : 2500 MHz
    Applications Clocks
        Graphics                    : 745 MHz
        Memory                      : 2500 MHz
    Default Applications Clocks
        Graphics                    : 745 MHz
        Memory                      : 2500 MHz
    Max Clocks
        Graphics                    : 745 MHz
        SM                          : 745 MHz
        Memory                      : 2500 MHz
    Compute Processes               : None



你可能感兴趣的:(nvidia显卡Tesla查看GPU使用情况)