Created
September 30, 2008 22:29
-
-
Save moonpolysoft/13977 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/src/erlang/rabbit/src/rabbit_control.erl b/src/erlang/rabbit/src/rabbit_control.erl | |
index b02afcb..52fb9b0 100644 | |
--- a/src/erlang/rabbit/src/rabbit_control.erl | |
+++ b/src/erlang/rabbit/src/rabbit_control.erl | |
@@ -128,6 +128,11 @@ action(force_reset, Node, []) -> | |
io:format("Forcefully resetting node ~p ...", [Node]), | |
call(Node, {rabbit_mnesia, force_reset, []}); | |
+action(stat_all, Node, []) -> | |
+ Res = call(Node, {rabbit_amqqueue, stat_all, []}), | |
+ io:format("~w~n", [Res]), | |
+ ok; | |
+ | |
action(cluster, Node, ClusterNodeSs) -> | |
ClusterNodes = lists:map(fun list_to_atom/1, ClusterNodeSs), | |
io:format("Clustering node ~p with ~p ...", |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment