One liner: To get available virtual memory
vmstat -s -SM
|
grep
"mémoire libre"
|
awk -F
" "
'{print$1}'