Re: vusagec math

Eric Shubert <[email protected]>
Newsgroups gmane.mail.vpopmail
Organization Eric Shubert & Associates
Message-ID <[email protected]>
On 11/30/2010 01:34 PM, Matt Brookings wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> On 11/30/2010 03:31 AM, Igor Smitran wrote:
>> I would like to se usage based on file size on disk. When i see domain
>> quota usage i need to know how much disk space is that.
>> After all, user is using that space, i am not able to give it to someone
>> else...
>
> Added block usage calculation to the vpopmail usage daemon in 5.5.
> You can find the change in Subversion.
>
> Please note, if you have configured the vusage daemon to save a
> database file, you will need to delete the database file or the
> calculations will be off when it starts up with the block size
> configuration.
> - --
> /*
>      Matt Brookings<[email protected]>        GnuPG Key FAE0672C
>      Software developer                     Systems technician
>      Inter7 Internet Technologies, Inc.     (815)776-9465
> */
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.10 (GNU/Linux)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iEYEARECAAYFAkz1X94ACgkQIwet2/rgZywZFwCggw3iYar24JLvwiYFel1AZSeE
> tfsAnAioGn8GKnPIOq/8VXikyKPt8xcN
> =p/Xw
> -----END PGP SIGNATURE-----
>

Matt,
I hope you've taken the block size into consideration for all files, not 
just those less than the block size. The unused space in the last block 
of all messages can add up. ;)

Thanks for you work on vpopmail.
-- 
-Eric 'shubes'


!DSPAM:4cfc2d9c32711289418291!
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.