For first script the output is :
/sys/devices/virtual/thermal/thermal_zone0/reserve_thermal:
/sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 51666
/sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50833
/sys/devices/virtual/thermal/thermal_zone0/reserve_thermal:
/sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 50416
/sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50833
/sys/devices/virtual/thermal/thermal_zone0/reserve_thermal:
/sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 51250
/sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50416
/sys/devices/virtual/thermal/thermal_zone0/reserve_thermal:
/sys/devices/virtual/thermal/thermal_zone1/cpu_thermal: 50833
/sys/devices/virtual/thermal/thermal_zone2/gpu_thermal: 50000
for thermal_zone0/temp there is output that there is Invalid argument.
For second script ther is output:
stress: info: [2436] dispatching hogs: 2 cpu, 0 io, 0 vm, 0 hdd
stress: info: [2436] successful run completed in 15s
stress: info: [2439] dispatching hogs: 4 cpu, 0 io, 0 vm, 0 hdd
stress: info: [2439] successful run completed in 15s
stress: info: [2449] dispatching hogs: 6 cpu, 0 io, 0 vm, 0 hdd
stress: info: [2449] successful run completed in 15s
stress: info: [2460] dispatching hogs: 8 cpu, 0 io, 0 vm, 0 hdd
stress: info: [2460] successful run completed in 15s