diff --git a/test/parallel/test_parallel_2.sh b/test/parallel/test_parallel_2.sh index ba281e1a7..e80b86383 100755 --- a/test/parallel/test_parallel_2.sh +++ b/test/parallel/test_parallel_2.sh @@ -12,7 +12,7 @@ b=1 if [ "$(uname)" == "Darwin" ]; then b=$(getconf _NPROCESSORS_ONLN) elif [ "$(expr substr $(uname -s) 1 5)" == "Linux" ]; then - b=$(getconf _NPROCESSORS_ONLN) + b=$(grep -c 'cpu[0-9]' /proc/stat) #(getconf _NPROCESSORS_ONLN) fi echo $(uname) echo $a $b