image.png查询mq的进程

    1. # 查询mq的进程
    2. ps -ef | grep rabbitmq
    3. # 将mq的进程杀掉
    4. ps -ef | grep rabbitmq | grep -v grep | awk '{print $2}' | xargs kill -9
    5. # 启动mq
    6. rabbitmq-server -detached
    7. # 查询mq的状态
    8. rabbitmqctl status

    image.png