No
This commit is contained in:
parent
72c7d720c4
commit
6a24f09620
1 changed files with 10 additions and 11 deletions
21
README.md
21
README.md
|
|
@ -1,18 +1,17 @@
|
|||
a lightweight script that logs the most important stuff about the raspberry pi
|
||||
A lightweight program that journals data about the environment of a raspberry pi
|
||||
|
||||
# most important stuff what
|
||||
# Current scope
|
||||
- cpu temperature
|
||||
- ambient temperature from a 1wire sensor
|
||||
|
||||
# warning
|
||||
CPU temperature is read from `/sys/class/thermal/thermal_zone0/temp` but that should work on every Linux computer \
|
||||
Ambient temperature is read from `/sys/bus/w1/devices` so you must have 1wire enabled, if you don't have that set `SENSOR` to `0`
|
||||
|
||||
# compilation and usage
|
||||
`make` or `gcc main.c -o measurer` \
|
||||
Should throw no warnings \
|
||||
`./measurer <output>` \
|
||||
You can schedule this with [systemd](/Minecon724/measurer/src/branch/master/systemd)
|
||||
|
||||
# why
|
||||
like heavy ahh like databases grafana etc go away you're a performance monitor why'd you reduce performance
|
||||
# Compilation and usage
|
||||
1. ```shell
|
||||
gcc main.c -o measurer
|
||||
```
|
||||
2. ```
|
||||
./measurer <output>
|
||||
```
|
||||
3. Optional: schedule with [systemd](/Minecon724/measurer/src/branch/master/systemd)
|
||||
Loading…
Add table
Add a link
Reference in a new issue