How to clear WHM Send Mail Queue via SSH – Clear email queue

How to clear WHM Send Mail Queue via SSH – Clear email queue

/usr/sbin/exiqgrep -i -o XXXXXX | xargs /usr/sbin/exim -Mrm

 

Thanks