@@ -812,12 +812,12 @@ For example, this command instructs the RabbitMQ broker to grant the
812
812
user named
813
813
.Qq janeway
814
814
access to the virtual host called
815
- .Qq /myvhost ,
815
+ .Qq my-vhost ,
816
816
with configure permissions on all resources whose names starts with
817
817
.Qq janeway- ,
818
818
and write and read permissions on all resources:
819
819
.sp
820
- .Dl rabbitmqctl set_permissions -p /myvhost janeway Qo ^janeway-.* Qc Qo .* Qc Qq .*
820
+ .Dl rabbitmqctl set_permissions -p my-vhost janeway Qo ^janeway-.* Qc Qo .* Qc Qq .*
821
821
.\" ------------------------------------
822
822
.It Cm clear_permissions Oo Fl p Ar vhost Oc Ar username
823
823
.Bl -tag -width Ds
@@ -835,9 +835,9 @@ For example, this command instructs the RabbitMQ broker to deny the user
835
835
named
836
836
.Qq janeway
837
837
access to the virtual host called
838
- .Qq /myvhost :
838
+ .Qq my-vhost :
839
839
.sp
840
- .Dl rabbitmqctl clear_permissions -p /myvhost janeway
840
+ .Dl rabbitmqctl clear_permissions -p my-vhost janeway
841
841
.\" ------------------------------------
842
842
.It Cm list_permissions Op Fl p Ar vhost
843
843
.Bl -tag -width Ds
@@ -852,12 +852,12 @@ Lists permissions in a virtual host.
852
852
.Pp
853
853
For example, this command instructs the RabbitMQ broker to list all the
854
854
users which have been granted access to the virtual host called
855
- .Qq /myvhost ,
855
+ .Qq my-vhost ,
856
856
and the permissions they have for operations on resources in that
857
857
virtual host.
858
858
Note that an empty string means no permissions granted:
859
859
.sp
860
- .Dl rabbitmqctl list_permissions -p /myvhost
860
+ .Dl rabbitmqctl list_permissions -p my-vhost
861
861
.\" ------------------------------------
862
862
.It Cm list_user_permissions Ar username
863
863
.Bl -tag -width Ds
@@ -899,18 +899,18 @@ user named
899
899
publish and consume messages going through the
900
900
.Qq amp.topic
901
901
exchange of the
902
- .Qq /myvhost
902
+ .Qq my-vhost
903
903
virtual host with a routing key starting with
904
904
.Qq janeway- :
905
905
.sp
906
- .Dl rabbitmqctl set_topic_permissions -p /myvhost janeway amq.topic Qo ^janeway-.* Qc Qo ^janeway-.* Qc
906
+ .Dl rabbitmqctl set_topic_permissions -p my-vhost janeway amq.topic Qo ^janeway-.* Qc Qo ^janeway-.* Qc
907
907
.Pp
908
908
Topic permissions support variable expansion for the following variables:
909
909
username, vhost, and client_id. Note that client_id is expanded only when using MQTT.
910
910
The previous example could be made more generic by using
911
911
.Qq ^{username}-.* :
912
912
.sp
913
- .Dl rabbitmqctl set_topic_permissions -p /myvhost janeway amq.topic Qo ^{username}-.* Qc Qo ^{username}-.* Qc
913
+ .Dl rabbitmqctl set_topic_permissions -p my-vhost janeway amq.topic Qo ^{username}-.* Qc Qo ^{username}-.* Qc
914
914
.\" ------------------------------------
915
915
.It Cm clear_topic_permissions Oo Fl p Ar vhost Oc Ar username Oo Ar exchange Oc
916
916
.Bl -tag -width Ds
@@ -933,9 +933,9 @@ named
933
933
for the topic exchange
934
934
.Qq amq.topic
935
935
in the virtual host called
936
- .Qq /myvhost :
936
+ .Qq my-vhost :
937
937
.sp
938
- .Dl rabbitmqctl clear_topic_permissions -p /myvhost janeway amq.topic
938
+ .Dl rabbitmqctl clear_topic_permissions -p my-vhost janeway amq.topic
939
939
.\" ------------------------------------
940
940
.It Cm list_topic_permissions Op Fl p Ar vhost
941
941
.Bl -tag -width Ds
@@ -949,9 +949,9 @@ Lists topic permissions in a virtual host.
949
949
.Pp
950
950
For example, this command instructs the RabbitMQ broker to list all the
951
951
users which have been granted topic permissions in the virtual host called
952
- .Qq /myvhost :
952
+ .Qq my-vhost :
953
953
.sp
954
- .Dl rabbitmqctl list_topic_permissions -p /myvhost
954
+ .Dl rabbitmqctl list_topic_permissions -p my-vhost
955
955
.\" ------------------------------------
956
956
.It Cm list_user_topic_permissions Ar username
957
957
.Bl -tag -width Ds
@@ -1230,10 +1230,9 @@ Suppresses the
1230
1230
parameter.
1231
1231
.El
1232
1232
.El
1233
- .Ss Server Status
1234
- The server status queries interrogate the server and return a list of
1235
- results with tab-delimited columns.
1236
- Some queries (
1233
+ .Ss Topology Introspection
1234
+ The topology introspection commands list topology entities (e.g. queues) with tab-delimited columns.
1235
+ Some commands (
1237
1236
.Cm list_queues ,
1238
1237
.Cm list_exchanges ,
1239
1238
.Cm list_bindings
@@ -1242,8 +1241,6 @@ and
1242
1241
accept an optional
1243
1242
.Ar vhost
1244
1243
parameter.
1245
- This parameter, if present, must be specified immediately after the
1246
- query.
1247
1244
.Pp
1248
1245
The
1249
1246
.Cm list_queues ,
@@ -1399,9 +1396,9 @@ are specified then queue name and depth are displayed.
1399
1396
.Pp
1400
1397
For example, this command displays the depth and number of consumers for
1401
1398
each queue of the virtual host named
1402
- .Qq /myvhost
1399
+ .Qq my-vhost
1403
1400
.sp
1404
- .Dl rabbitmqctl list_queues -p /myvhost messages consumers
1401
+ .Dl rabbitmqctl list_queues -p my-vhost messages consumers
1405
1402
.\" ------------------------------------
1406
1403
.It Cm list_exchanges Oo Fl p Ar vhost Oc Op Ar exchangeinfoitem ...
1407
1404
Returns exchange details.
@@ -1455,9 +1452,9 @@ are specified then exchange name and type are displayed.
1455
1452
.Pp
1456
1453
For example, this command displays the name and type for each exchange
1457
1454
of the virtual host named
1458
- .Qq /myvhost :
1455
+ .Qq my-vhost :
1459
1456
.sp
1460
- .Dl rabbitmqctl list_exchanges -p /myvhost name type
1457
+ .Dl rabbitmqctl list_exchanges -p my-vhost name type
1461
1458
.\" ------------------------------------
1462
1459
.It Cm list_bindings Oo Fl p Ar vhost Oc Op Ar bindinginfoitem ...
1463
1460
Returns binding details.
@@ -1503,9 +1500,9 @@ are specified then all above items are displayed.
1503
1500
.Pp
1504
1501
For example, this command displays the exchange name and queue name of
1505
1502
the bindings in the virtual host named
1506
- .Qq /myvhost
1503
+ .Qq my-vhost
1507
1504
.sp
1508
- .Dl rabbitmqctl list_bindings -p /myvhost exchange_name queue_name
1505
+ .Dl rabbitmqctl list_bindings -p my-vhost exchange_name queue_name
1509
1506
.\" ------------------------------------
1510
1507
.It Cm list_connections Op Ar connectioninfoitem ...
1511
1508
Returns TCP/IP connection statistics.
@@ -1711,13 +1708,13 @@ broker:
1711
1708
.Dl rabbitmqctl status
1712
1709
.\" ------------------------------------
1713
1710
.It Cm node_health_check
1714
- Health check of the RabbitMQ node.
1715
- Verifies the rabbit application is running, list_queues and
1716
- list_channels return, and alarms are not set.
1711
+ Performs several health checks of the target node.
1717
1712
.Pp
1718
- For example, this command performs a health check on the RabbitMQ node:
1713
+ Verifies the rabbit application is running and alarms are not set,
1714
+ then checks that every queue and channel on the node can emit basic stats.
1719
1715
.sp
1720
- .Dl rabbitmqctl node_health_check -n rabbit@stringer
1716
+ Example:
1717
+ .Dl rabbitmqctl node_health_check -n rabbit@hostname
1721
1718
.\" ------------------------------------
1722
1719
.It Cm environment
1723
1720
Displays the name and value of each variable in the application
0 commit comments