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: Wietse Venema (wietseporcupine.org)
Date: Wed Jul 08 2009 - 13:00:49 CDT


Michael Durket:
> Thanks to all who replied. I'll be trying out the various ideas. But
> they all
> seem awkward. In my MVS days, when we wrote large scale systems
> like this, we'd keep important statistics in the link pack area,
> constantly
> updated, so monitor programs could just map that area and get the
> data (or easily create realtime displays for viewing throughout the
> operations area). Since Postfix knows the queue size, and other
> relevant statistics,

By design, Postfix does not know the size of the queue. All it
knows is how many messages are in the active queue, and that is a
limited subset of all mail.

        Wietse

> how about doing something similar - creating a statistics block in
> global
> memory that anyone can map to (readonly) and update queue information
> and other data that might be useful there?
>
>
>