On a big directory you'd probably want to put du's output in RAM and do the postprocessing there...
In reply to Re^2: Disc Space checking by gaal in thread Disc Space checking by Hugeusrealus