There is du, it can tell you how much space is using any directory.

man du or info du.

On Tue, 17 Sep 2002, James Melin wrote:

> Is there a good tool to say analyze part of a file system tree and report
> how much space it is using?
> 
> Say like /usr/sbin - which is not in it's own file system but part of a
> larger one.
> 
> I'm trying to size a new deployment based on another and adust for growth.
> I am limited at the moment to a mod-9 drive size, so its kinda critical to
> know what parts of the root FS contain the most mass.
> 
> I am also limited on the number of volumes I can actually have, so I'm
> trying to figure out the best distribution of limited resources
> 
> My thought was this:
> 
> Mod 3 capacity 2838 mb
> Mod 9 capacity 8514 mb
> 
> swap        3390 mod-3
> /           3390 mod-9
> /tmp        3390 mod-3
> /usr        3390 mod-9
> /usr/bin          3390 mod-9
> /usr/sbin   3390 mod-3
> /home       3390 mod-9
> /bin        3390 mod-9
> 
> The thing is that I dunno that I can have that many volumes (bringing up 4
> new linux LPARs (no vm yet))
> 
> That's going to be 24 volumes that I need which is about half of our
> reserve.
> 
> My alternate plan would be based on a any output the aforementioned desired
> tool would produce, or if anyone has any input on this sizing plan, i'd be
> happy to hear. I'm the inexperienced novice again, in the presence of
> giants, so if anyone has any ideas for me, by all means type away.
> 
> Thanks
> 
> -James
> 
> 

-- 
Alejandro Leyva Rabinovich.
Jefe de la Unidad Departamental de Soporte T�cnico
(Administraci�n de Mainframe).
Secretaria de Finanzas.
Gobierno del Distrito Federal.

Reply via email to