Post
Topic
Board Mining (Altcoins)
Re: ### A ChainWorks Industries (CWI) Project - CWIgm | Simple Powerful Stable
by
g01dt00th
on 21/08/2017, 18:53:53 UTC

Read my upper post. I asked the simplest solution. I dont need to shut down GPU-s. I just need to close the miner application.

IF temp on GPU 0 or 1 or 2 or whatever = 70 degrees - Close CWIgm.exe

try

--max-temp=70 option

That doesnt do what i was looking for. It just throttles ur GPU, like, slows it down to keep temperature under that number. And it slows down ur mining or stops it on that GPU if it needs to throttle GPU too much.

ok, if you want just close miner app, use external batch file.

for get temp use nvidia-smi.exe --id=0 --query-gpu=temperature.gpu --format=csv,noheader,nounits , where --id=0 - you GPU


like as (for 6 GPUs)

for /F %%p in ('"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" --id^=0 --query-gpu^=temperature.gpu --format^=csv^,noheader^,nounits') do set gpu_temp0=%%p
for /F %%p in ('"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" --id^=1 --query-gpu^=temperature.gpu --format^=csv^,noheader^,nounits') do set gpu_temp1=%%p
for /F %%p in ('"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" --id^=2 --query-gpu^=temperature.gpu --format^=csv^,noheader^,nounits') do set gpu_temp2=%%p
for /F %%p in ('"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" --id^=3 --query-gpu^=temperature.gpu --format^=csv^,noheader^,nounits') do set gpu_temp3=%%p
for /F %%p in ('"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" --id^=4 --query-gpu^=temperature.gpu --format^=csv^,noheader^,nounits') do set gpu_temp4=%%p
for /F %%p in ('"C:\Program Files\NVIDIA Corporation\NVSMI\nvidia-smi" --id^=5 --query-gpu^=temperature.gpu --format^=csv^,noheader^,nounits') do set gpu_temp5=%%p
set /a total=%gpu_temp0%+%gpu_temp1%+%gpu_temp2%+%gpu_temp3%+%gpu_temp4%+%gpu_temp5%
set /a gpu_tempaverage=%total%/6

if %gpu_tempaverage% GTR 70 (
   TASKKILL /IM cwigm.exe
)