summaryrefslogtreecommitdiffstats
path: root/storage/tokudb/PerconaFT/scripts/watch.stress-tests.bash
diff options
context:
space:
mode:
Diffstat (limited to 'storage/tokudb/PerconaFT/scripts/watch.stress-tests.bash')
-rw-r--r--storage/tokudb/PerconaFT/scripts/watch.stress-tests.bash3
1 files changed, 3 insertions, 0 deletions
diff --git a/storage/tokudb/PerconaFT/scripts/watch.stress-tests.bash b/storage/tokudb/PerconaFT/scripts/watch.stress-tests.bash
new file mode 100644
index 00000000..9dccbe2b
--- /dev/null
+++ b/storage/tokudb/PerconaFT/scripts/watch.stress-tests.bash
@@ -0,0 +1,3 @@
+#!/bin/bash
+
+watch "date ; awk '{ print \$1, \$3 }' < /tmp/stress-tests-log | sort -k 2 | uniq -c | sort -k 3 -r -s | head -n10; echo ; echo; echo 'Failing tests:'; grep FAILED /tmp/stress-tests-log | sort -k 3 -r -s"