This commit is contained in:
hjelev
2022-03-19 00:41:06 +02:00
parent d772d8df45
commit ca30a26ca1
2 changed files with 2 additions and 0 deletions

View File

@@ -1,3 +1,4 @@
#!/bin/bash
# Raspberry Pi MQTT monitor # Raspberry Pi MQTT monitor
Python script to check the cpu load, cpu temperature, free space, used memory, swap usage, voltage and system clock speed Python script to check the cpu load, cpu temperature, free space, used memory, swap usage, voltage and system clock speed
on a Raspberry Pi or any computer running Ubuntu and publish this data to a MQTT broker. on a Raspberry Pi or any computer running Ubuntu and publish this data to a MQTT broker.

View File

@@ -1,3 +1,4 @@
#!/bin/bash
printm () { printm () {
line="------" line="------"
length=$(expr length "$1") length=$(expr length "$1")