parallelization scripts

This commit is contained in:
Florian Stecker
2022-06-15 18:04:42 +02:00
parent ec34567ace
commit 979cbe7922
5 changed files with 42 additions and 3 deletions

6
parallelization/check_hostfile Executable file
View File

@@ -0,0 +1,6 @@
#!/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