[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: script/app to compile statistics about disk usage?

On Fri, 30 Jul 2004 17:54, Alvin Oga wrote:
> On Fri, 30 Jul 2004, John Summerfield wrote:
> > When I get desperate,as root I do things like this:
> > du --max-depth 2 -m | sort -n | sort
> not fair ... that's the same answer i was gonna post, but you
> beat me cause i was home eating and watching Jay leno
> 	though i'd just have used sort +1 instead of 2 sorts
> c ya
> alvin

Actually the sort without options just undoes the ordering by sort -n, so it 
just ends up in lexical order instead of numeric.

Bob Parker

Reply to: