This commit is contained in:
proddy
2025-01-04 13:41:39 +01:00
parent 4138598db2
commit eb87651c47
166 changed files with 2099 additions and 10446 deletions

13
scripts/show_mem.sh Normal file
View File

@@ -0,0 +1,13 @@
#!/bin/sh
echo -n "Arduino: "
curl -s http://10.10.10.93/api/system/system/arduino | jq -r '.value'
echo -n "SDK: "
curl -s http://10.10.10.93/api/system/system/sdk | jq -r '.value'
echo -n "Free heap: "
curl -s http://10.10.10.93/api/system/system/freeMem | jq -r '.value'
echo -n "Max Alloc: "
curl -s http://10.10.10.93/api/system/system/maxAlloc | jq -r '.value'