mirror of
				https://projects.vdr-developer.org/git/vdr-plugin-skindesigner.git
				synced 2023-10-19 15:58:31 +00:00 
			
		
		
		
	changed command to get gpu temp in script
This commit is contained in:
		
							
								
								
									
										3
									
								
								scripts/temperatures.default
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							
							
						
						
									
										3
									
								
								scripts/temperatures.default
									
									
									
									
									
										
										
										Normal file → Executable file
									
								
							| @@ -24,5 +24,6 @@ sensors -A acpitz-virtual-0 | grep "temp1" | awk '{print $2}' | tr -d "+" > ${OU | ||||
|  | ||||
| # nvidia gpu temp | ||||
| # nvidia-settings must be run as the user of the x server | ||||
| GPU=`nvidia-settings -c :0 -t -query GPUCoreTemp | head -n 1` | ||||
| # GPU=`nvidia-settings -c :0 -t -query GPUCoreTemp | head -n 1` | ||||
| GPU=`nvidia-smi --query-gpu=temperature.gpu --format=csv,noheader` | ||||
| echo "${GPU}°C" > ${OUTPUTFLDR}/gpu | ||||
|   | ||||
		Reference in New Issue
	
	Block a user