mirror of
https://github.com/emsesp/EMS-ESP32.git
synced 2025-12-08 00:39:50 +03:00
v3.7.2
This commit is contained in:
13
scripts/show_mem.sh
Normal file
13
scripts/show_mem.sh
Normal 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'
|
||||
Reference in New Issue
Block a user