signalk-rpi-monitor
Version:
Signal K Node Server Plugin for Raspberry PI monitoring
27 lines (21 loc) • 932 B
Markdown
Signal K Node Server Plugin for Raspberry PI monitoring (based on signalk-raspberry-pi-temperature and signalk-raspberry-pi-monitoring)
Reports:
- CPU Utilization averaged over the past 5 seconds
- Memory utilization (fraction of total)
- Storage Utilization (fraction of total)
- CPU Temperature (degrees Kelvin)
- GPU Temperature (degrees Kelvin)
In order for CPU utilization to work, you must install the sysstat package.
On a Raspberry Pi you can do this with:
```
sudo apt-get update
sudo apt-get install sysstat
```
Big thanks people who developed the previous generations of monitoring for the Raspberry Pi.
This code is based on:
https://www.npmjs.com/package/signalk-raspberry-pi-monitoring
https://github.com/nmostovoy/signalk-raspberry-pi-monitoring
which is based on:
https://www.npmjs.com/package/signalk-raspberry-pi-temperature
https://github.com/sbender9/signalk-raspberry-pi-temperature