Complete.Org: Mailing Lists: Archives: discussion: March 1999:
Re: [aclug-L] Size of dir tree?
Home

Re: [aclug-L] Size of dir tree?

[Top] [All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
To: aclug-L@xxxxxxxxxxxx
Subject: Re: [aclug-L] Size of dir tree?
From: Mohammad Islam <sohel@xxxxxxxxxxxxx>
Date: Mon, 01 Mar 1999 13:57:16 -0600
Reply-to: aclug-L@xxxxxxxxxxxx

Hi Greg,

On top of my head .. just glancing at the man page for du produced the
following

du -c -k -s /usr

du = disk usage

-c = total
-s = summarize
-k = gimme result in Kilobytes

/usr = the usr dir (replace it with your choice of dir)

(if your usr or var is mounted then df  will show you total, used and
available size of a partition) 

Hope this helps.

Later.

Besr,

Mohammed
Greg House wrote:
> 
> This is a pretty basic question, but I haven't been able to easily find the
> answer.  How do you get the total size of a directory tree.  For example, if
> one were repartitioning and wanted to know the size of /usr or /var, how
> would you get it?
> 
> Thanks,
> Greg
> 
> ---
> This is the Air Capital Linux Users Group discussion list.  If you
> want to unsubscribe, send the word "unsubscribe" to
> aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
> message to aclug-L@xxxxxxxxxxxx.
---
This is the Air Capital Linux Users Group discussion list.  If you
want to unsubscribe, send the word "unsubscribe" to
aclug-L-request@xxxxxxxxxxxx.  If you want to post to the list, send your
message to aclug-L@xxxxxxxxxxxx.



[Prev in Thread] Current Thread [Next in Thread]