mirror of
https://github.com/ThunixdotNet/monurbox.git
synced 2026-01-23 19:40:19 +00:00
Adjusted freememb theshold
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
export SITE=$1
|
||||
|
||||
ALERT=70
|
||||
ALERT=20
|
||||
|
||||
awk '/MemFree/{free=$2} /MemTotal/{total=$2} END{print (free*100)/total}' /proc/meminfo | awk '{printf("%d\n",$1 + 0.5)}' | while read freemem; do
|
||||
if [ "$freemem" -lt "$ALERT" ]
|
||||
|
||||
Reference in New Issue
Block a user