There are many discussions about sorting the human readable form of du
for output in reports/cron jobs and the like.
Some people use perl or bash scripts. Others use sort and then xargs
(which is silly IMO). Yes, the first pass of du should prime caches
BUT if du is traversing a really large
On 22/02/11 19:51, Alan Evans wrote:
There are many discussions about sorting the human readable form of du
for output in reports/cron jobs and the like.
sort got -h to operation on the suffixed numbers directly
in release 7.5 (2009-08-20)
cheers,
Pádraig.
I noticed fadvise(DONTNEED) getting some love in the kernel recently
http://lkml.org/lkml/2011/2/17/169
Which prompted me to implement this. With the attached one can now:
# Advise to drop cache for whole file
dd if=ifile iflag=nocache count=0
# Ensure drop cache for whole file
dd
Excerpts from Mike Frysinger's message of 2011-02-19 19:53:18 -0500:
2011/2/19 Pádraig Brady:
On 19/02/11 18:28, Mike Frysinger wrote:
based on other threads (which i havent been following too closely), did we
settle on this being a btrfs bug ?
Nope, cp 8.10 is not absolved yet.
It