From owner-freebsd-questions Fri May 21 1:54:24 1999 Delivered-To: freebsd-questions@freebsd.org Received: from pc759.cs.msu.su (pc759.cs.msu.su [158.250.10.223]) by hub.freebsd.org (Postfix) with ESMTP id 284EE14D61 for ; Fri, 21 May 1999 01:53:46 -0700 (PDT) (envelope-from der@pc759.cs.msu.su) Received: from localhost (der@localhost) by pc759.cs.msu.su (8.9.3/8.9.2) with SMTP id MAA15899; Fri, 21 May 1999 12:54:19 +0400 (MSD) (envelope-from der@pc759.cs.msu.su) Date: Fri, 21 May 1999 12:54:18 +0400 (MSD) From: Derevyanko Alexandr Evgenievich To: OCD Support Cc: efinley@efinley.com, freebsd-questions@FreeBSD.ORG Subject: Re: Q: disk usage by directory In-Reply-To: <37444F5F.EF8D48AA@kawartha.com> Message-ID: X-Comment-To: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Thu, 20 May 1999, OCD Support wrote: > What we do with our user's home directories as an example is simply use the du > command which gives us output like this: > > 4 ./idc/mail > 28 ./idc > 7 ./fido/mail > 8 ./fido/html > 1 ./fido/.tin/.news > 1 ./fido/.tin/.mail > 1 ./fido/.tin/.save > 27 ./fido/.tin > 1 ./fido/Mail > 1 ./fido/News > 1877 ./fido > 1 ./orders/mail > 22 ./orders > 1 ./sysadmin/.tin/.mail > 1 ./sysadmin/.tin/.save > 1 ./sysadmin/.tin/.news > 26 ./sysadmin/.tin > 1 ./sysadmin/Mail > 1 ./sysadmin/News > 798 ./sysadmin > 66775 . > > Then I guess if needed you could create a quick perl script to eliminate sub > directories and then email the report or dump it to file? For our needs (we can > our shell access server once a week for example) we don't need anything fancy > and this works fine..:) The $> du -s * makes exactly that you sad. > Paul > > > Elliot Finley wrote: > > > I need to keep an eye on my users disk usage. Is there any way to get > > a disk-usage-by-directory report? > > > > Please CC comments to efinley@efinley.com > > > > TIA > > -- > > Elliot (efinley@efinley.com) > > > > "The box said 'Requires Windows 95, NT, or better,' so I installed FreeBSD." > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > > with "unsubscribe freebsd-questions" in the body of the message > > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message