From 178d041f716d79ad06f175eba5d3950583ed3cc0 Mon Sep 17 00:00:00 2001 From: Thomas Schoebel-Theuer Date: Wed, 19 Jul 2017 14:35:38 +0200 Subject: [PATCH] marsadm: show any lamport time discepancies --- userspace/marsadm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/userspace/marsadm b/userspace/marsadm index fd7ef0c4..3d879747 100755 --- a/userspace/marsadm +++ b/userspace/marsadm @@ -4612,6 +4612,10 @@ my %complex_macros = . "%if{%{txt}}{" . "++++++++++++ Global / Communication Status ++++++++++++\n" . "%{txt}" + . "}" + . "%let{timeslip}{%-{%time{}}{%real-time{}}}" + . "%if{%>{%{timeslip}}{%{window}}}{" + . "++++++++++++ Lamport time slip: %human-seconds{%{timeslip}} ++++++++++++\n" . "}", # drbd similar ones