One liner: To get available virtual memory

vmstat -s -SM | grep "free memory" | awk -F" " '{print$1}'
Advertisements