summaryrefslogtreecommitdiff
path: root/bin/rtt-fuzz-rand-n
blob: 7d3c969f7367aac039293bcc16a1b0685f4dd4e3 (plain)
1
2
3
4
5
6
7
8
9
10
11
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)