top -n 0 | head -4 | tail -1 | awk -F "," '{ if ( $2 < 10G ) { print " High Memory utilization " } else { print " " } }'
23n01 labc> ./b.sh
High Memory utilization
This prints hifgh memory utilization even though there is enough memory.
Memory: 32G real, 19G free, 11G swap in use, 45G swap free