Quantcast
Channel: Zimbra Forums
Viewing all articles
Browse latest Browse all 1146

Administrators • Calculate average size of stored email?

$
0
0
Hi everyone.

I'm doing some storage benchmarks (S3).
So I'm looking for a way (direct DB request?) to calculate the average size of the emails I already have stored on my server.

Anyone got such a script/tool?

I could calculate if from filesystem but I'd rather have internal Zimbra results.

Code:

find ./ -ls | awk '{sum += $7; n++;} END {print sum/n;}'

Statistics: Posted by Klug — Fri Feb 28, 2025 5:35 pm



Viewing all articles
Browse latest Browse all 1146

Trending Articles