diff options
author | Jan Friesse <jfriesse@redhat.com> | 2020-01-27 13:24:08 +0100 |
---|---|---|
committer | Jake Hunsaker <jhunsake@redhat.com> | 2020-02-04 12:59:09 -0500 |
commit | a4111986f7913f17dce69e0ff7099a8035b0cc0d (patch) | |
tree | b0a1364efe25a30184866f3a810a3b0a50fcca3a | |
parent | 0a9b312d346fcdf07cbacdcca7b540248e7a54f6 (diff) | |
download | sos-a4111986f7913f17dce69e0ff7099a8035b0cc0d.tar.gz |
[corosync] Add 'corosync-cmapctl -m stats' output
Information stored in CMAP got split in Corosync 3.x to
configuration and statistics part.
Calling 'corosync-cmapctl' command output only configuration part. To
output statistics part, 'corosync-cmapctl -m stats' has to be called.
Patch adds call of 'corosync-cmapctl -m stats'.
Resolves: #1924
Signed-off-by: Jan Friesse <jfriesse@redhat.com>
Signed-off-by: Jake Hunsaker <jhunsake@redhat.com>
-rw-r--r-- | sos/plugins/corosync.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sos/plugins/corosync.py b/sos/plugins/corosync.py index 06d70947..efecd5d9 100644 --- a/sos/plugins/corosync.py +++ b/sos/plugins/corosync.py @@ -32,7 +32,8 @@ class Corosync(Plugin): "corosync-cfgtool -s", "corosync-blackbox", "corosync-objctl -a", - "corosync-cmapctl" + "corosync-cmapctl", + "corosync-cmapctl -m stats" ]) self.exec_cmd("killall -USR2 corosync") |