OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
Re: Recommended way to (quickly) get total mail queue size?

From: LuKreme (kremelskreme.com)
Date: Wed Jul 08 2009 - 13:44:17 CDT


On Jul 7, 2009, at 9:15 AM, Michael Durket
<durkethighwire.stanford.edu> wrote:

> So what's the best way to quickly (i.e. less than a few seconds) get
> the
> current queue count out of Postfix?

ls -1 [queue directory] | wc -l

?