#!/bin/bash # Returns total and used disk space (in GB) of all machines in the cluster # Example output: steffe16 8.9 47 parallel --nonall --slf /home/rock/macchine.txt 'echo $HOSTNAME $(df -Ph | grep mmcblk0p5 | awk '\''{print $2" "$3}'\'' | sed '\''s/G//g'\'')'