Skip to content

Instantly share code, notes, and snippets.

@vpx
Forked from thiagooak/kill-rmq-connections.sh
Last active August 29, 2015 14:07
rabbitmqctl list_connections pid port state user vhost recv_cnt send_cnt send_pend name | awk '{print "rabbitmqctl close_connection \"" $1 "\" \"manually closing idle connection\"" | "/bin/bash" }'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment