Page 1 of 1
omtidyallu command for trash
Posted: Thu Oct 21, 2010 10:34 am
by RickC
Hi,
Is there an omtidyallu command that will give me the total space # for everyone's trash (deleted items) folder?
Thanks. Scalix 11.4.4 on RHEL4
Re: omtidyallu command for trash
Posted: Fri Oct 22, 2010 10:04 am
by ltward
Hey Rick!
Does it have to be omtidyallu?
sxdu would probably be easier and faster. Would that work for you?
Re: omtidyallu command for trash
Posted: Fri Oct 22, 2010 10:06 am
by RickC
yes, thanks. sxdu -a does the trick!
I was thinking of the report mode with omtidyallu.

Re: omtidyallu command for trash
Posted: Thu Oct 28, 2010 10:18 am
by RickC
hi,
Anyone know how I can sort on the "-a" param? "sxdu -a | sort -n" sorts on the total mail, not the sent.
Thanks.
Re: omtidyallu command for trash
Posted: Thu Oct 28, 2010 9:27 pm
by sgreen
sxdu -a | cut -f2,3| sort -n
To get just the worst offenders:
sxdu -a | cut -f2,3| sort -n -r | head
Re: omtidyallu command for trash
Posted: Fri Oct 29, 2010 11:49 am
by RickC
Thanks very much! That did the trick

Re: omtidyallu command for trash
Posted: Wed Nov 03, 2010 10:29 am
by RickC
Hi again ...
Is omtidyallu the only way to obtain the sent items size?
Thanks.
RIck
Re: omtidyallu command for trash
Posted: Wed Nov 03, 2010 11:16 am
by polleke
omscan -u will do the trick
it wil give you the size of
INBOX
OUTBOX
SENT
OTHERS
TRASH
TOTAL
RCVRY
Re: omtidyallu command for trash
Posted: Wed Nov 03, 2010 11:25 am
by RickC
Thanks!
I'm trying to figure out which is faster to run - I have 6k users and a 1.25 TB datastore.
Re: omtidyallu command for trash
Posted: Wed Nov 03, 2010 11:38 am
by RickC
Actually omscan -u was pretty fast, thanks!
Re: omtidyallu command for trash
Posted: Wed Nov 03, 2010 11:52 am
by polleke
remember that omscan uses the data it has indexed last time it had a complete run.. so make sure you have configured sxmaint correctly