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,
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?