summaryrefslogtreecommitdiff
path: root/src/third_party/wiredtiger/tools
diff options
context:
space:
mode:
authorAlison Felizzi <alison.felizzi@mongodb.com>2021-11-04 05:00:32 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-11-04 05:26:46 +0000
commit5b70012f5c1b28eab108aade53c32d05b253a284 (patch)
treef88336637c64fa2d5391ec19cf2b4860473f1815 /src/third_party/wiredtiger/tools
parenteac8547116b770dbe3906fe4eb07bbfe1bbf3ede (diff)
downloadmongo-5b70012f5c1b28eab108aade53c32d05b253a284.tar.gz
Import wiredtiger: 374c2c9308e5683e8794bde0cbbf33f717898551 from branch mongodb-master
ref: 000a87af63..374c2c9308 for: 5.2.0 WT-8253 Fix disk space issue in checkpoint stress tests
Diffstat (limited to 'src/third_party/wiredtiger/tools')
-rwxr-xr-xsrc/third_party/wiredtiger/tools/run_parallel.sh11
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