Get all user's mailbox size from CLI: Difference between revisions
(Created page with "{{WIP}}{{Article Infobox|{{admin}}|{{ZCS 8.6}}|{{ZCS 8.5}}|{{ZCS 8.0}}}} =Get all user's mailbox size from CLI= ==Purpose== How to check and findout all user's mailbox size. ...") |
No edit summary |
||
Line 1: | Line 1: | ||
{{ | {{BC|Certified}} | ||
__FORCETOC__ | |||
<div class="col-md-12 ibox-content"> | |||
=Get all user's mailbox size from CLI= | =Get all user's mailbox size from CLI= | ||
{{KB|{{ZC}}|{{ZCS 8.6}}|{{ZCS 8.5}}{{ZCS 8.0}}||}} | |||
{{WIP}} | |||
==Purpose== | ==Purpose== | ||
How to check and findout all user's mailbox size. | How to check and findout all user's mailbox size. |
Revision as of 18:44, 11 July 2015
Get all user's mailbox size from CLI
- This article is a Work in Progress, and may be unfinished or missing sections.
Purpose
How to check and findout all user's mailbox size.
Resolution
Run following command as zimbra user to check all user's mailbox size:-
su - zimbra all_accounts=`zmprov -l gaa`; for account in $all_accounts; do mbox_size=`zmmailbox -z -m $account gms`; echo "Mailbox size of $account = $mbox_size"; done ;
After running above commands you will get output in the below format:-
Mailbox size of user@example.com = 5.72 KB Mailbox size of user2@example.com = 1.38 KB Mailbox size of test@example.com = 0 B Mailbox size of test2@mydomain.com = 19.27 MB Mailbox size of supporttest@supportlab.in = 162.15 KB
Additional Content
- No related content.