OSEC

Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com
 
From: Wietse Venema (wietseporcupine.org)
Date: Wed May 02 2001 - 18:14:24 CDT

  • Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

    If you have many files, try:

        # du active incoming deferred | wc

    It won't go much faster than that.

            Wietse

    Chris Terrebonne :
    > I seem to have a massive queue and that command still hasn't finished.
    > I was hoping for just a count of the number of files.
    > Any Ideas?
    >
    > Thanks,
    > Chris
    >
    > ----------------------------------------------
    > Original Message
    > From: "Ben Rosengart"<brpanix.com>
    > Subject: Re: Queue count question
    > Date: Wed, 2 May 2001 17:26:00 -0400
    >
    > >On Wed, May 02, 2001 at 10:52:18PM +0200, Thijs Kinkhorst wrote:
    > >> At 22:45 02-05-2001, you wrote:
    > >> >Are there any programs/scripts that will quickly return the number of
    > >> >messages in the queue?
    > >>
    > >> Try:
    > >>
    > >> mailq | tail -1
    > >
    > >You call that quick? mailq produces half a MB of output on my
    > >systems, and takes a while to run.
    > >
    > >--
    > >Ben Rosengart
    > >(212) 741-4400 x215
    > >
    > >"My hair is my password. Verify me."
    > >
    > >-
    > >To unsubscribe, send mail to majordomopostfix.org with content
    > >(not subject): unsubscribe postfix-users
    > >
    >
    > _____________________________________________
    > Free email with personality! Over 200 domains!
    > http://www.MyOwnEmail.com
    >
    >
    > -
    > To unsubscribe, send mail to majordomopostfix.org with content
    > (not subject): unsubscribe postfix-users
    >
    >

    -
    To unsubscribe, send mail to majordomopostfix.org with content
    (not subject): unsubscribe postfix-users