linux 当剩余内存小于1024M时,发送告警

  [  \`free -m | grep Mem: | awk '{print $4}'|` -le 1024  ] && echo "insufficient Memory"

猜你喜欢

转载自blog.51cto.com/sampsondotqiu/2489849