Skip to content

Instantly share code, notes, and snippets.

@cloudnull
Created February 12, 2025 05:00
Show Gist options
  • Save cloudnull/ad74744cce99d957e63fd7548478d73c to your computer and use it in GitHub Desktop.
Save cloudnull/ad74744cce99d957e63fd7548478d73c to your computer and use it in GitHub Desktop.
list rabbitmq queues that have a value greater than 0
rabbitmqctl list_vhosts --silent | xargs -i rabbitmqctl list_queues --vhost {} | awk '{if ($2>0) print $0}'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment