#!/bin/bash # Returns used and total memory (in MB) of all machines in the cluster # Example output: steffe1 141 3814 parallel --nonall --slf /home/rock/macchine.txt 'echo $HOSTNAME $(free -m | awk '\''/Mem/{print $3" "$2}'\'')'