Message Store size

Hi1) How i can find the size of message store ? if possible give me thecommands ?2) How to find out the number of mailboxes in the message store ?Thanks in Advance
[198 byte] By [bsnl-nib] at [2007-11-26 10:23:02]
# 1

> Hi

>

> 1) How i can find the size of message store ? if

> possible give me the

>commands ?

Assuming you're on some version of Unix?

cd ../store

du -s

> How to find out the number of mailboxes in the

> message store ?

There are several commands that can give you useful data.

I would look at the documentation for the

mboxutil

command. The output can be parsed by grep, or some other kinds of things to give you exactly what you're looking for.

You could also use find, like this:

cd ../store

find . -name TRASH -print | wc -l

since there is actually no directory named, "INBOX", but any valid mailbox will also have a trash folder, look for that. wc -l counts the number of lines that the find command gives you.

If you want total number of folders, look for "store.idx". each folder has one.

mboxutil will be faster, and offer less impact on your system, though.

>

>

> Thanks in Advance

jay_plesset at 2007-7-7 2:23:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...
# 2
Thanks Jay
bsnlnib at 2007-7-7 2:23:56 > top of Java-index,E-Mail, Calendar, & Collaboration,Sun Java System Messaging Server...