Linux / UNIX find out size of email account or mailbox
Use awk command to print user mailbox size along with username
Finally sort command will sort mailbox size.
Type the command:
$ ls -lL /var/mail | awk '{print $5, $9}' | sort -rn
OR
$ ls -lL /var/mail | awk '{print $5, $9}' | head -10
==========================================================
cd /var/spool/mail;ll -lh | grep 15M
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment