Browse Source

make lower 50MB mem warning

master
Christian Rotzoll 6 years ago
parent
commit
1625dc777f
  1. 2
      home.admin/00infoBlitz.sh

2
home.admin/00infoBlitz.sh

@ -58,7 +58,7 @@ tempF=$(((cpu/1000) * (9/5) + 32))
ram_avail=$(free -m | grep Mem | awk '{ print $7 }')
ram=$(printf "%sM / %sM" "${ram_avail}" "$(free -m | grep Mem | awk '{ print $2 }')")
if [ ${ram_avail} -lt 100 ]; then
if [ ${ram_avail} -lt 50 ]; then
color_ram="${color_red}\e[7m"
else
color_ram=${color_green}

Loading…
Cancel
Save