[Cialug] space by directory

Barry Von Ahsen barry at vonahsen.com
Wed Sep 5 14:36:06 CDT 2012


man -k / apropos might help there

"man -k space" brings up commands related to space, du happens to be in there

the results can be hit or miss, depending on if you can hit on the keyword that the maintainer used in the description :)


-barry


On Sep 5, 2012, at 2:29 PM, <murraymckee at wellsfargo.com> <murraymckee at wellsfargo.com> wrote:

> Thanks Dave and the rest of you who responded.
> 
> Man is great, once you know what command you want more information on.
> 
> Murray R. McKee
> 
> Operating Systems Analyst
> Mainframe/Midrange Services
> 
> Wells Fargo Compute Platform Services  |  800 Walnut Street  |  Des Moines, IA 50309-3605
> MAC N0001-037
> Tel 515-557-6127 |  Cell 515-343-6630 |  Fax 515-557-6046 | Text pager: 5153436630 at vtext.com 
> 
> MurrayMcKee at WellsFargo.com
> 
> 
> -----Original Message-----
> From: cialug-bounces at cialug.org [mailto:cialug-bounces at cialug.org] On Behalf Of Dave Weis
> Sent: Wednesday, September 05, 2012 1:53 PM
> To: 'cialug at cialug.org'
> Subject: Re: [Cialug] space by directory
> 
> 
> Try du -k | sort -rn | less
> 
> 
> 
> ----- Original Message -----
> From: murraymckee at wellsfargo.com [mailto:murraymckee at wellsfargo.com]
> Sent: Wednesday, September 05, 2012 01:51 PM
> To: cialug at cialug.org <cialug at cialug.org>
> Subject: [Cialug] space by directory
> 
> We're running Linux under IBM zVM and I have a problem.  One of our mount points is running low on space.  I can do "df -h" which tells me which mount point is short on space, but I can't seem to find a way to look at the directories under the mount point to figure out which one is using up more than its share of space.
> 
> I hoping there is something that I can cd to the mount point and it will list the space used by all of the directories underneath it, recursively.  I just want a list of the directories immediately below where I am, but with all the space used in that directory or any subdirectory under it.  
> 
> Is there anything like that?
> 
> Murray R. McKee
> 
> Operating Systems Analyst
> Mainframe/Midrange Services
> 
> Wells Fargo Compute Platform Services  |  800 Walnut Street  |  Des Moines, IA 50309-3605
> MAC N0001-037
> Tel 515-557-6127 |  Cell 515-343-6630 |  Fax 515-557-6046 | Text pager: 5153436630 at vtext.com 
> 
> MurrayMcKee at WellsFargo.com
> 
> 
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug
> _______________________________________________
> Cialug mailing list
> Cialug at cialug.org
> http://cialug.org/mailman/listinfo/cialug



More information about the Cialug mailing list