hw monitoring

This commit is contained in:
Devaev Maxim
2020-07-09 05:04:21 +03:00
parent 69f77ce48b
commit 53eb74670d
14 changed files with 230 additions and 4 deletions

1
testenv/fakes/cpu_temp Normal file
View File

@@ -0,0 +1 @@
36511

1
testenv/fakes/dt_model Normal file
View File

@@ -0,0 +1 @@
Virtual Raspberry Pi

1
testenv/fakes/msd/cdrom Normal file
View File

@@ -0,0 +1 @@
1

0
testenv/fakes/msd/file Normal file
View File

1
testenv/fakes/msd/ro Normal file
View File

@@ -0,0 +1 @@
1

5
testenv/fakes/vcgencmd Executable file
View File

@@ -0,0 +1,5 @@
#!/bin/sh
case $1 in
get_throttled) echo "throttled=0x0";;
measure_temp) echo "temp=35.0'C";;
esac