#!/bin/bash # Returns received and transmitted bytes of all machines in the cluster # Example output: steffe14 3581663131 3305835017 parallel --nonall --slf /home/rock/macchine.txt 'echo $HOSTNAME $(cat /sys/class/net/[e]*/statistics/{r,t}x_bytes)'