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

Re: 100% used / file system. Help!



On Fri, Sep 23, 2011 at 12:04:30PM +0100, Lisi wrote:
> On Friday 23 September 2011 10:53:56 Darac Marjal wrote:
> > As an aside, this is why I don't recommend using "du -h" with "sort -n".
> > "du -h" is a great way to see where your space is being used, as it
> > presents the sizes in human readable format. However, "sort -n" sorts
> > numerically but critically, it doesn't know that, in this instance, 23G
> > is larger than 164M
> 
> Thanks, Darac.  In fairness to my advisors, I must point out that they 
> recommended sort -h.  But my system, for reasons of its own, jibs at - h (I 
> have included one of its jibs in the passage you quoted).  So I changed it 
> to - n and left myself the task of picking out the largest file.  My human 
> brain had no difficulty in recognising 22G as the largest file!! 
> 
> Thanks for the recommendations.  I shall install and look at them - it would 
> be nice to have choice next time I leave myself up the creek without a 
> paddle.

Oh, I'd actually missed the fact that "sort -h" exists and does exactly
what I'd been advocating. I assume this is a new feature that's (at
least) in sid. What a pip!


-- 
Darac Marjal

Attachment: signature.asc
Description: Digital signature


Reply to: