|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
From: Victor Duchovni (Victor.Duchovni
MorganStanley.com)
Date: Sun Apr 01 2007 - 12:27:32 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Sat, Mar 31, 2007 at 10:12:30PM -1000, Julian Cowley wrote:
> On Fri, 30 Mar 2007, Victor Duchovni wrote:
> > On Fri, Mar 30, 2007 at 10:02:37AM -0700, Eric Frazier wrote:
> >
> > > > sudo find /var/spool/postfix/deferred -type f -print | wc -l
> >
> > This has to stat every file and so incurs a lot of I/O, by far faster on
> > systems with leaf-directory optimization is:
> >
> > sudo find /var/spool/postfix/deferred/. ! -name . ! -name '?' -print | wc -l
>
> That's pretty nice. Unless I'm missing something, looks like it can
> be further reduced to:
>
> sudo find /var/spool/postfix/deferred/. ! -name '?' -print | wc -l
>
Provided you are willing to subtract 1 at the end, yes.
--
Viktor.
Disclaimer: off-list followups get on-list replies or get ignored.
Please do not ignore the "Reply-To" header.
To unsubscribe from the postfix-users list, visit
http://www.postfix.org/lists.html or click the link below:
<mailto:majordomo
postfix.org?body=unsubscribe%20postfix-users>
If my response solves your problem, the best way to thank me is to not
send an "it worked, thanks" follow-up. If you must respond, please put
"It worked, thanks" in the "Subject" so I can delete these quickly.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]