Bitcoin Forum
May 26, 2024, 10:39:26 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: [BATCH] Simple (Local) Monitoring for NVIDIA GPUs  (Read 404 times)
stalkerX (OP)
Newbie
*
Offline Offline

Activity: 12
Merit: 0


View Profile
August 27, 2017, 10:01:36 AM
Last edit: October 30, 2017, 07:28:54 AM by stalkerX
 #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:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!