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

Re: Cheap way to track disk usage?



On Tue, 03 Mar 2015, Jacek Politowski wrote:
> On Tue, Mar 03, 2015 at 08:29:53PM +1300, Richard Hector wrote:
> 
> >I can run du, but that takes ages, and has a performance impact.
> 
> With "idle" I/O scheduler class (set with ionice) does it still have
> a big performance impact?

This is basically what I do myself; I run 'nice -n 19 ionice -c 3 du -a;'
occasionally and feed the output into sort -n.

Granted, this is only on about 1T of data, but the number of files are
probably similar.

-- 
Don Armstrong                      http://www.donarmstrong.com

I will not make any deals with you. I've resigned. I will not be
pushed, filed, stamped, indexed, briefed, debriefed or numbered. My
life is my own. I resign.
 -- Patrick McGoohan as Number 6 in "The Prisoner"


Reply to: