diff options
Diffstat (limited to 'src/third_party/wiredtiger/tools/run_parallel.sh')
-rwxr-xr-x | src/third_party/wiredtiger/tools/run_parallel.sh | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/src/third_party/wiredtiger/tools/run_parallel.sh b/src/third_party/wiredtiger/tools/run_parallel.sh index 3c8489ccd3b..9a05da66f0c 100755 --- a/src/third_party/wiredtiger/tools/run_parallel.sh +++ b/src/third_party/wiredtiger/tools/run_parallel.sh @@ -39,14 +39,17 @@ echo " num_iter: $num_iter" outf=./outfile.txt for i in $(seq $num_iter); do - echo "Starting iteration $i" >> $outf - echo "Starting iteration $i" + echo "==== Starting iteration $i ====" >> $outf + echo "==== Starting iteration $i ====" + + echo "Disk usage and free space for the current drive:" + df -h . process_ids=() # start the commands in parallel for((t=1; t<=num_parallel; t++)); do - echo "Starting parallel command $t (of $num_parallel) in iteration $i (of $num_iter)" >> nohup.out.$t - eval nohup $command >> nohup.out.$t 2>&1 & + echo "Starting parallel command $t (of $num_parallel) in iteration $i (of $num_iter)" >> $outf + eval nohup $command > nohup.out.$t 2>&1 & process_ids[$t]=$! done |