@@ -812,12 +812,12 @@ For example, this command instructs the RabbitMQ broker to grant the
812812user named
813813.Qq janeway
814814access to the virtual host called
815- .Qq /myvhost ,
815+ .Qq my-vhost ,
816816with configure permissions on all resources whose names starts with
817817.Qq janeway- ,
818818and write and read permissions on all resources:
819819.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 .*
821821.\" ------------------------------------
822822.It Cm clear_permissions Oo Fl p Ar vhost Oc Ar username
823823.Bl -tag -width Ds
@@ -835,9 +835,9 @@ For example, this command instructs the RabbitMQ broker to deny the user
835835named
836836.Qq janeway
837837access to the virtual host called
838- .Qq /myvhost :
838+ .Qq my-vhost :
839839.sp
840- .Dl rabbitmqctl clear_permissions -p /myvhost janeway
840+ .Dl rabbitmqctl clear_permissions -p my-vhost janeway
841841.\" ------------------------------------
842842.It Cm list_permissions Op Fl p Ar vhost
843843.Bl -tag -width Ds
@@ -852,12 +852,12 @@ Lists permissions in a virtual host.
852852.Pp
853853For example, this command instructs the RabbitMQ broker to list all the
854854users which have been granted access to the virtual host called
855- .Qq /myvhost ,
855+ .Qq my-vhost ,
856856and the permissions they have for operations on resources in that
857857virtual host.
858858Note that an empty string means no permissions granted:
859859.sp
860- .Dl rabbitmqctl list_permissions -p /myvhost
860+ .Dl rabbitmqctl list_permissions -p my-vhost
861861.\" ------------------------------------
862862.It Cm list_user_permissions Ar username
863863.Bl -tag -width Ds
@@ -899,18 +899,18 @@ user named
899899publish and consume messages going through the
900900.Qq amp.topic
901901exchange of the
902- .Qq /myvhost
902+ .Qq my-vhost
903903virtual host with a routing key starting with
904904.Qq janeway- :
905905.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
907907.Pp
908908Topic permissions support variable expansion for the following variables:
909909username, vhost, and client_id. Note that client_id is expanded only when using MQTT.
910910The previous example could be made more generic by using
911911.Qq ^{username}-.* :
912912.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
914914.\" ------------------------------------
915915.It Cm clear_topic_permissions Oo Fl p Ar vhost Oc Ar username Oo Ar exchange Oc
916916.Bl -tag -width Ds
@@ -933,9 +933,9 @@ named
933933for the topic exchange
934934.Qq amq.topic
935935in the virtual host called
936- .Qq /myvhost :
936+ .Qq my-vhost :
937937.sp
938- .Dl rabbitmqctl clear_topic_permissions -p /myvhost janeway amq.topic
938+ .Dl rabbitmqctl clear_topic_permissions -p my-vhost janeway amq.topic
939939.\" ------------------------------------
940940.It Cm list_topic_permissions Op Fl p Ar vhost
941941.Bl -tag -width Ds
@@ -949,9 +949,9 @@ Lists topic permissions in a virtual host.
949949.Pp
950950For example, this command instructs the RabbitMQ broker to list all the
951951users which have been granted topic permissions in the virtual host called
952- .Qq /myvhost :
952+ .Qq my-vhost :
953953.sp
954- .Dl rabbitmqctl list_topic_permissions -p /myvhost
954+ .Dl rabbitmqctl list_topic_permissions -p my-vhost
955955.\" ------------------------------------
956956.It Cm list_user_topic_permissions Ar username
957957.Bl -tag -width Ds
@@ -1230,10 +1230,9 @@ Suppresses the
12301230parameter.
12311231.El
12321232.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 (
12371236.Cm list_queues ,
12381237.Cm list_exchanges ,
12391238.Cm list_bindings
@@ -1242,8 +1241,6 @@ and
12421241accept an optional
12431242.Ar vhost
12441243parameter.
1245- This parameter, if present, must be specified immediately after the
1246- query.
12471244.Pp
12481245The
12491246.Cm list_queues ,
@@ -1399,9 +1396,9 @@ are specified then queue name and depth are displayed.
13991396.Pp
14001397For example, this command displays the depth and number of consumers for
14011398each queue of the virtual host named
1402- .Qq /myvhost
1399+ .Qq my-vhost
14031400.sp
1404- .Dl rabbitmqctl list_queues -p /myvhost messages consumers
1401+ .Dl rabbitmqctl list_queues -p my-vhost messages consumers
14051402.\" ------------------------------------
14061403.It Cm list_exchanges Oo Fl p Ar vhost Oc Op Ar exchangeinfoitem ...
14071404Returns exchange details.
@@ -1455,9 +1452,9 @@ are specified then exchange name and type are displayed.
14551452.Pp
14561453For example, this command displays the name and type for each exchange
14571454of the virtual host named
1458- .Qq /myvhost :
1455+ .Qq my-vhost :
14591456.sp
1460- .Dl rabbitmqctl list_exchanges -p /myvhost name type
1457+ .Dl rabbitmqctl list_exchanges -p my-vhost name type
14611458.\" ------------------------------------
14621459.It Cm list_bindings Oo Fl p Ar vhost Oc Op Ar bindinginfoitem ...
14631460Returns binding details.
@@ -1503,9 +1500,9 @@ are specified then all above items are displayed.
15031500.Pp
15041501For example, this command displays the exchange name and queue name of
15051502the bindings in the virtual host named
1506- .Qq /myvhost
1503+ .Qq my-vhost
15071504.sp
1508- .Dl rabbitmqctl list_bindings -p /myvhost exchange_name queue_name
1505+ .Dl rabbitmqctl list_bindings -p my-vhost exchange_name queue_name
15091506.\" ------------------------------------
15101507.It Cm list_connections Op Ar connectioninfoitem ...
15111508Returns TCP/IP connection statistics.
@@ -1711,13 +1708,13 @@ broker:
17111708.Dl rabbitmqctl status
17121709.\" ------------------------------------
17131710.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.
17171712.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.
17191715.sp
1720- .Dl rabbitmqctl node_health_check -n rabbit@stringer
1716+ Example:
1717+ .Dl rabbitmqctl node_health_check -n rabbit@hostname
17211718.\" ------------------------------------
17221719.It Cm environment
17231720Displays the name and value of each variable in the application
0 commit comments