516 B
516 B
title | kind | slug | created_at | tags | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Bash it! - Number of messages in Postfix queue | article | bash-it-number-of-messages-in-postfix-queue | 2007-11-15 |
|
Got bash? Here's a nice snippet that will return the number of messages currently in the postfix queue.
postqueue -p | tail -n 1 | cut -d' ' -f5
Feel free to post any updates or improvements.