projects
/
cluster.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bfbc64a
)
[CMAN] Display the node's votes in cman_tool status
master
author
Christine Caulfield <ccaulfie@redhat.com>
Tue, 29 Jul 2008 12:52:14 +0000
(13:52 +0100)
committer
Christine Caulfield <ccaulfie@redhat.com>
Tue, 29 Jul 2008 12:52:14 +0000
(13:52 +0100)
I'm not sure how this one slipped the net.
Signed-off-by: Christine Caulfield <ccaulfie@redhat.com>
cman/cman_tool/main.c
patch
|
blob
|
history
diff --git
a/cman/cman_tool/main.c
b/cman/cman_tool/main.c
index 5b905ea1bd95b5b87c4c303cbd1fd68e03c3d00c..49b7831c0b3cc289434531c9c744dcc17f0cb029 100644
(file)
--- a/
cman/cman_tool/main.c
+++ b/
cman/cman_tool/main.c
@@
-225,6
+225,7
@@
static void show_status(void)
if (cman_get_quorum_device(h, &qinfo) == 0 && qinfo.qi_state == 2)
printf("Quorum device votes: %d\n", qinfo.qi_votes);
printf("Total votes: %d\n", einfo->ei_total_votes);
+ printf("Node votes: %d\n", einfo->ei_node_votes);
printf("Quorum: %d %s\n", einfo->ei_quorum, quorate?" ":"Activity blocked");
printf("Active subsystems: %d\n", cman_get_subsys_count(h));
This page took
0.079584 seconds
and
5
git commands to generate.