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

Re: Cheap way to track disk usage?



-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 03/03/15 21:09, Johann Spies wrote:
> 
> 
> 
> I can run du, but that takes ages, and has a performance impact.
> df only gives the total for the filesystem, of course.
> 
> 
> Try ncdu.  It also takes some time to finish calculating, but the
> output is easier to handle and you can drill down to lower
> directories without losing the other data.

Thanks Johann,

That looks a really nice tool, and for generally finding out where
space is used, is great - better than the sequential du that I use for
that at the moment.

In this case, however, we know there's lots of space used, and it's
supposed to be - what we don't know is where in the tree that usage is
changing. That requires running du multiple times, and if done too
often that will have a significant performance impact on the system.

ncdu will be no different in that respect, except that it's less
suitable for capturing the output for later analysis and comparison.
For that, I'm currently using find to generate csv files that I can
compare with whatever tools - but I can only do that at relatively
large intervals, so I don't get a very detailed picture.

Richard

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iQEcBAEBAgAGBQJU9W9hAAoJELSi8I/scBaNBnAH/R7KhvSRXTqTpfaSdN4wZQyz
5QfNZDamLBuPCLnAZXzXcxj7WIIHlTegnQd4T8XVOR+nAAPajwxdwAbWJ1Me38y5
FSAHzyokc8YJFpHV9sU4iCBXM/kbhaVwEmM8hO9I2PG2a8WFNeAbdE6LSxC+7BVV
4jNrpbOgitCzRnfQ4GXjC9UsfxAEH4qtOzTSizKxNneUqqvlm3K28Aj6XMjmSm59
hZc6or+J7Pjr2glzvwUwUXnxl2w3OxS5g/YSt0YpGixqCzPvnKAxyOIQ3jKO5xBk
o5Q58xmIHchNvbun6cZHrIdQwM8iw8GXVA5yTZFHXSrEcE+MvWaLb4DqgNIrYXs=
=y0Ph
-----END PGP SIGNATURE-----


Reply to: