2021-11-25 22:41:39
浏览数 (3)
查看 users
代码语言:javascript
复制[root@h102 rabbitmq]# rabbitmqadmin list users
------- ----------------------------- ------------------------------ ---------------
| name | hashing_algorithm | password_hash | tags |
------- ----------------------------- ------------------------------ ---------------
| guest | rabbit_password_hashing_md5 | 7jG486YR6/F0hVLWYfCnqRyxKe4= | administrator |
| test | rabbit_password_hashing_md5 | /iSnvCNZ5m3kvqoqqH4U3dSEqTM= | administrator |
------- ----------------------------- ------------------------------ ---------------
[root@h102 rabbitmq]# rabbitmqadmin list users name
-------
| name |
-------
| guest |
| test |
-------
[root@h102 rabbitmq]# rabbitmqadmin list users tags
---------------
| tags |
---------------
| administrator |
| administrator |
---------------
[root@h102 rabbitmq]#
查看 vhosts
代码语言:javascript
复制[root@h102 rabbitmq]# rabbitmqadmin list vhosts
------ ----------
| name | messages |
------ ----------
| / | 13 |
------ ----------
[root@h102 rabbitmq]#
查看 connections
代码语言:javascript
复制[root@h102 rabbitmq]# rabbitmqadmin list connections
No items
[root@h102 rabbitmq]#
查看 exchanges
代码语言:javascript
复制[root@h102 rabbitmq]# rabbitmqadmin list exchanges
-------------------- ---------
| name | type |
-------------------- ---------
| | direct |
| amq.direct | direct |
| amq.fanout | fanout |
| amq.headers | headers |
| amq.match | headers |
| amq.rabbitmq.log | topic |
| amq.rabbitmq.trace | topic |
| amq.topic | topic |
| kk | fanout |
| test | fanout |
-------------------- ---------
[root@h102 rabbitmq]#