Created
April 27, 2016 08:04
-
-
Save nitinbhojwani/14f0c151774ae8340a814955e6322590 to your computer and use it in GitHub Desktop.
Closes all rabbitmq connections
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo rabbitmqctl list_connections pid | while read pid ; do sudo rabbitmqctl close_connection ${pid} "go away" ; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment