triangle_reflection_complex/parallelization/check_hostfile

7 lines
153 B
Plaintext
Raw Normal View History

2022-06-15 16:04:42 +00:00
#!/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