summaryrefslogtreecommitdiff
path: root/compbench.sh
blob: 276c34542d5d11e2f5a4ccd8ea3018cdb486806b (plain)
1
2
3
4
5
6
7
8
9
10
11
#!/bin/bash

name=$1
./compbench $2 &> /dev/null &
comp_pid=$!

(./cpu.sh > ${name}_cpu.log) &
(./mem.sh > ${name}_mem.log) &
(./bat.sh > ${name}_bat.log) &

wait $comp_pid