triangle_reflection_complex/parallelization/check_hostfile
2022-06-15 18:04:42 +02:00

7 lines
153 B
Bash
Executable File

#!/bin/bash
for a in $(cat $1 | egrep -o '^[^ ]*'); do
echo -n "$a "
ssh -o ConnectTimeout=5 $a "cat /proc/cpuinfo | egrep '^processor' | wc -l"
done