Projet

Général

Profil

Révision 3c481585

ID3c481585deaf41f358b563cd7962335b96039588
Parent c7299aeb
Enfant 842acaef

Ajouté par Giacomo Mazzamuto il y a plus de 4 ans

nvidia_gpu_: fix current temperature on nvidia 460

Tested with
NVIDIA-SMI 460.32.03
Driver Version: 460.32.03
CUDA Version: 11.2

Voir les différences:

plugins/gpu/nvidia_gpu_
214 214
# Get requested value
215 215
case $name in
216 216
	temp)
217
		valueGpus=$(echo "$smiOutput" | grep -A 1 "Temperature" | grep -i "Gpu" | cut -d : -f 2 | cut -d ' ' -f 2)
217
		valueGpus=$(echo "$smiOutput" | grep "GPU Current Temp" | cut -d : -f 2 | cut -d ' ' -f 2)
218 218
		;;
219 219
	mem)
220 220
		totalMemGpus=$(echo "$smiOutput" | grep -v BAR1 | grep -A 3 "Memory Usage" | grep "Total" | cut -d : -f 2 | cut -d ' ' -f 2)

Formats disponibles : Unified diff