From owner-freebsd-questions Sun Jun 16 14:23:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from wonkity.com (wonkity.com [63.93.4.4]) by hub.freebsd.org (Postfix) with ESMTP id 67CBE37B415 for ; Sun, 16 Jun 2002 14:23:42 -0700 (PDT) Received: from wonkity.com (localhost.wonkity.com [127.0.0.1]) by wonkity.com (8.12.1/8.11.6) with ESMTP id g5GLNduF007234; Sun, 16 Jun 2002 15:23:39 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.12.1/8.12.1/Submit) with ESMTP id g5GLNdLo007231; Sun, 16 Jun 2002 15:23:39 -0600 (MDT)?g (envelope-from wblock@wonkity.com) Date: Sun, 16 Jun 2002 15:23:39 -0600 (MDT) From: Warren Block To: Dan Nelson Cc: Steven Lake , freebsd-questions@FreeBSD.ORG Subject: Re: Determining # of mail's per user In-Reply-To: <20020616203646.GB81446@dan.emsphone.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, 16 Jun 2002, Dan Nelson wrote: > If you're using mbox format, > > grep -c "^From " /var/mail/* > > will give you # of messages per user. And ls -l /var/mail | sort -r +4 will give the space used by each user in descending order. -Warren Block * Rapid City, South Dakota USA To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message