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
import com.rabbitmq.client.Channel; | |
import com.rabbitmq.client.Connection; | |
import com.rabbitmq.client.ConnectionFactory; | |
import java.io.IOException; | |
import java.util.ArrayList; | |
import java.util.HashMap; | |
import java.util.List; | |
import java.util.Map; | |
import java.util.Random; |
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
[root@lab-rmq02 pmaisenovich]# /usr/sbin/rabbitmqctl status | |
Status of node 'rabbit@lab-rmq02' ... | |
[{pid,31311}, | |
{running_applications, | |
[{rabbitmq_federation_management,"RabbitMQ Federation Management", | |
"3.1.5"}, | |
{rabbitmq_management,"RabbitMQ Management Console","3.1.5"}, | |
{rabbitmq_federation,"RabbitMQ Federation","3.1.5"}, | |
{rabbitmq_auth_backend_ldap,"RabbitMQ LDAP Authentication Backend", | |
"3.1.5"}, |
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
{{memory,2304}, | |
[{5734484,46,9243}, | |
{5738585,3,522}, | |
{5742682,4,359}, | |
{5746779,1,175}, | |
{5750876,1,175}, | |
{5754973,1,1059}, | |
{5759070,148,5943}, | |
{5763167,0,90}, | |
{5767264,49,10626}], |
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
%% Analysis results: | |
{ analysis_options, | |
[{callers, true}, | |
{sort, acc}, | |
{totals, true}, | |
{details, true}]}. | |
% CNT ACC OWN | |
[{ totals, 483941, 5542.734, 2999.596}]. %%% |
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
[root@lab-rmq02 tmp]# /usr/sbin/rabbitmqctl eval '{process_info(global:whereis_name(rabbit_mgmt_db),memory),[{T, ets:info(T,size), ets:info(T,memory)} || T <-lists:sort(ets:all()), rabbit_mgmt_db <- [ets:info(T, name)]],sys:get_status(global:whereis_name(rabbit_mgmt_db))}.' | |
{{memory,3233453136}, | |
[{5730387,1046,204783}, | |
{5734488,5,904}, | |
{5738585,2006,126615}, | |
{5742682,1,175}, | |
{5746779,1,175}, | |
{5750876,1,1059}, | |
{5754973,513948,22841771}, | |
{5759070,1016302,25419148}, |