title: How to remove non-running nodes from RabbitMQ cluster
body: <p>I need to delete all nodes that are not running in a RabbitMQ cluster via the command line.</p>
  <p>I have tried <code>rabbitmqctl forget_cluster_node</code>, but I'm not sure how to get the list of non-running nodes.</p>
  <p>I see all the nodes and running_nodes in the output of <code>rabbitmqctl cluster_status</code>. Can someone help me parse it and let me know if there is any other solution to delete the nodes from a cluster easily?</p>