mirror of
				https://github.com/karl0ss/AnotterKiosk.git
				synced 2025-11-04 00:30:59 +00:00 
			
		
		
		
	
		
			
	
	
		
			17 lines
		
	
	
		
			473 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
		
		
			
		
	
	
			17 lines
		
	
	
		
			473 B
		
	
	
	
		
			PHP
		
	
	
	
	
	
| 
								 | 
							
								<h1>Kioskbrowser</h1>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								CPU temperature: <br>
							 | 
						||
| 
								 | 
							
								<?php passthru("sudo vcgencmd measure_temp"); ?>
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								CPU voltage: <br>
							 | 
						||
| 
								 | 
							
								<?php passthru("sudo vcgencmd measure_volts"); ?>
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								Throttling status (everything except 0x0 means throttling, get a better power supply!): <br>
							 | 
						||
| 
								 | 
							
								<?php passthru("sudo vcgencmd get_throttled"); ?>
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								Last heartbeat:
							 | 
						||
| 
								 | 
							
								<?php echo date("Y-m-d H:i:s", filemtime("/dev/shm/heartbeat")); ?>
							 | 
						||
| 
								 | 
							
								<br>
							 | 
						||
| 
								 | 
							
								
							 | 
						||
| 
								 | 
							
								<br><br>
							 | 
						||
| 
								 | 
							
								<img src="/screenshot.php?<?php echo microtime(); ?>">
							 |