rabbitmqctl list_connections pid port state user vhost recv_cnt send_cnt send_pend name| grep -vP 'Listing|pid' | awk '{print "rabbitmqctl close_connection \"" $1 "\" \"manually closing idle connection\"" | "sh" }'
Created
August 13, 2020 12:50
-
-
Save troyfontaine/b48b795a1330e204d11df0397e0baa1c to your computer and use it in GitHub Desktop.
Fixed Close All RabbitMQ Connections
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment