diff options
Diffstat (limited to 'bin/rtt-fuzz-rand-n')
-rwxr-xr-x | bin/rtt-fuzz-rand-n | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/bin/rtt-fuzz-rand-n b/bin/rtt-fuzz-rand-n new file mode 100755 index 0000000..7d3c969 --- /dev/null +++ b/bin/rtt-fuzz-rand-n @@ -0,0 +1,12 @@ +#!/bin/bash + +# count number of actual cores +CORES=$(lscpu --all --parse=SOCKET,CORE | grep -v '^#' | sort -u | wc -l) +# CORES=$(nproc) + +for P in $(seq $CORES) +do + ./bin/rtt-fuzz-rand $1 & +done + +wait $(jobs -p) |