This commit is contained in:
2025-07-02 00:07:49 -07:00
commit c208c6b35d
114 changed files with 71862 additions and 0 deletions

9
bin/st-mem Executable file
View File

@ -0,0 +1,9 @@
#!/bin/sh
MEMORY_USED=$(free -m | gawk 'NR==2 {print $3}')
if [ $MEMORY_USED -gt 1024 ]; then
MEMORY_USED="$(echo "scale=1; $MEMORY_USED / 1024" | bc)G"
else
MEMORY_USED="$MEMORY_USEDM"
fi
echo $MEMORY_USED