Bitcoin Forum
December 13, 2017, 09:46:24 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: [BATCH] Simple (Local) Monitoring for NVIDIA GPUs  (Read 301 times)
stalkerX
Newbie
*
Offline Offline

Activity: 12


View Profile
August 27, 2017, 10:01:36 AM
 #1

Everyone monitors their video cards in different ways: someone through AfterBurner, someone through the GPU-Z tool. I use a simple batch file in five lines. It's easy to read and can be customized, if anything is missing. Note: The batch file displays information/benchmarks about the NVIDIA cards, it's not a WatchDog.

Code:
@echo off

mode con cols=75 lines=8
title NVIDIA GPUs
color 0b

PATH=%PATH%;"%PROGRAMFILES%\NVIDIA Corporation\NVSMI\"

:loop
nvidia-smi --query-gpu=index,name,clocks.gr,power.draw,utilization.gpu,fan.speed,temperature.gpu --format=csv,noheader
timeout /t 10 >nul
@cls
goto loop

I'll tell you what and how:

- Line 3. - the size of the window (who has many cards).
- Line 4. - the (window) title.
- Line 5. - the output color.
- Line 8. - query-gpu values separated by comma.

Default benchmark columns (separated by commas):
- ID
- Card name
- Overclock (MHz)
- Power (W)
- Load (%)
- Fan speed (%)
- Temperature (°C)

Preview: http://imgur.com/a/fTX4C


Donations are welcome Wink
ETH: 0xBA3190c0e2B45c0441D7eB274D3105568085D99f
BTC: 1DjNKyaUMCPNcj5RKqzdPQgkw5TQQeuYuy
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!