RabbitMQ基础8

2022-05-04 22:24:56 浏览数 (1)

开启RabbitMQ 应用

代码语言:javascript复制
[root@h102 rabbitmq]# rabbitmqctl  status
Status of node rabbit@h102 ...
[{pid,5596},
 {running_applications,[{xmerl,"XML parser","1.2.10"},
                        {sasl,"SASL  CXC 138 11","2.1.10"},
                        {stdlib,"ERTS  CXC 138 10","1.17.5"},
                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:64] [kernel-poll:true]n"},
 {memory,[{total,27465424},
          {connection_readers,0},
          {connection_writers,0},
          {connection_channels,0},
          {connection_other,0},
          {queue_procs,0},
          {queue_slave_procs,0},
          {plugins,0},
          {other_proc,8917816},
          {mnesia,0},
          {mgmt_db,0},
          {msg_index,0},
          {other_ets,643344},
          {binary,3992},
          {code,14756074},
          {atom,1367393},
          {other_system,1776805}]},
 {alarms,[]},
 {listeners,[]},
 {processes,[{limit,1048576},{used,46}]},
 {run_queue,0},
 {uptime,420}]
[root@h102 rabbitmq]# rabbitmqctl  start_app 
Starting node rabbit@h102 ...
[root@h102 rabbitmq]# rabbitmqctl  status
Status of node rabbit@h102 ...
[{pid,5596},
 {running_applications,[{rabbit,"RabbitMQ","3.5.6"},
                        {os_mon,"CPO  CXC 138 46","2.2.7"},
                        {mnesia,"MNESIA  CXC 138 12","4.5"},
                        {xmerl,"XML parser","1.2.10"},
                        {sasl,"SASL  CXC 138 11","2.1.10"},
                        {stdlib,"ERTS  CXC 138 10","1.17.5"},
                        {kernel,"ERTS  CXC 138 10","2.14.5"}]},
 {os,{unix,linux}},
 {erlang_version,"Erlang R14B04 (erts-5.8.5) [source] [64-bit] [smp:2:2] [rq:2] [async-threads:64] [kernel-poll:true]n"},
 {memory,[{total,28067792},
          {connection_readers,0},
          {connection_writers,0},
          {connection_channels,0},
          {connection_other,2704},
          {queue_procs,2704},
          {queue_slave_procs,0},
          {plugins,0},
          {other_proc,9270424},
          {mnesia,59584},
          {mgmt_db,0},
          {msg_index,34120},
          {other_ets,790272},
          {binary,11136},
          {code,14756074},
          {atom,1367393},
          {other_system,1773381}]},
 {alarms,[]},
 {listeners,[{clustering,25672,"::"},{amqp,5672,"::"}]},
 {vm_memory_high_watermark,0.4},
 {vm_memory_limit,784151347},
 {disk_free_limit,50000000},
 {disk_free,26749280256},
 {file_descriptors,[{total_limit,924},
                    {total_used,3},
                    {sockets_limit,829},
                    {sockets_used,1}]},
 {processes,[{limit,1048576},{used,124}]},
 {run_queue,0},
 {uptime,516}]
[root@h102 rabbitmq]# 

This command instructs the RabbitMQ node to start the RabbitMQ application.

0 人点赞