Giter Club home page Giter Club logo

govidia_smi's Introduction

https://github.com/rs/zerolog

nvidia-smi --id=0 --query-gpu=name --format=csv,noheader

echo; nvidia-smi --query-gpu=timestamp,name,pci.bus_id,driver_version,pstate,pcie.link.gen.max,pcie.link.gen.current,temperature.gpu,utilization.gpu,utilization.memory,memory.total,memory.free,memory.used --format=csv,noheader

[basics] index timestamp name

[advanced] pci.bus_id driver_version pstate - Power state pcie.link.gen.max pcie.link.gen.current

[charted] temperature.gpu utilization.gpu utilization.memory memory.total memory.free memory.used

2020/12/02 22:37:14.163, GeForce RTX 2080 Ti, 00000000:09:00.0, 450.80.02, P8, 3, 1, 39, 1 %, 3 %, 10997 MiB, 10200 MiB, 797 MiB

--- Explanation --- timestamp The timestamp of where the query was made in format "YYYY/MM/DD HH:MM:SS.msec".

name The official product name of the GPU. This is an alphanumeric string. For all products.

pci.bus_id PCI bus id as "domain:bus:device.function", in hex. driver_version The version of the installed NVIDIA display driver. This is an alphanumeric string.

pstate The current performance state for the GPU. States range from P0 (maximum performance) to P12 (minimum performance).

pcie.link.gen.max The maximum PCI-E link generation possible with this GPU and system configuration. For example, if the GPU supports a higher PCIe generation than the system supports then this reports the system PCIe generation.

pcie.link.gen.current The current PCI-E link generation. These may be reduced when the GPU is not in use. temperature.gpu Core GPU temperature. in degrees C.

utilization.gpu Percent of time over the past sample period during which one or more kernels was executing on the GPU. The sample period may be between 1 second and 1/6 second depending on the product.

utilization.memory Percent of time over the past sample period during which global (device) memory was being read or written. The sample period may be between 1 second and 1/6 second depending on the product.

memory.total Total installed GPU memory.

memory.free Total free memory.

memory.used Total memory allocated by active contexts.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.