commit 062630f5823635f7be31965738b9b1a4c0e29f10
Author: Andrew Beekhof <andrew@beekhof.net>
Date: Tue Feb 25 10:21:08 2014 +1100
Fix: crm_report: Additional dlm detail
(cherry picked from commit 3cafe4b9b44fc3faea72d5738a428d2a7fcda53c)
diff --git a/tools/report.collector b/tools/report.collector
index 62cbe8b..f40dc01 100644
--- a/tools/report.collector
+++ b/tools/report.collector
@@ -491,15 +491,18 @@ sys_stats() {
dlm_dump() {
if which dlm_tool >/dev/null 2>&1 ; then
- echo NOTICE - Lockspace overview:
- dlm_tool ls
+ echo "--- Lockspace overview:"
+ dlm_tool ls -n
+
+ echo "---Lockspace history:"
+ dlm_tool dump
+
dlm_tool ls | grep name |
while read X N ; do
- echo NOTICE - Lockspace $N:
- dlm_tool lockdump $N
+ echo "--- Lockspace $N:"
+ dlm_tool lockdump "$N"
+ dlm_tool lockdebug -svw "$N"
done
- echo NOTICE - Lockspace history:
- dlm_tool dump
fi
}