Mailinglist Archive: opensuse (1445 mails)

< Previous Next >
Re: [opensuse] faster way to get total dir size besides du?
  • From: "phanisvara das" <listmail@xxxxxxxxxxxxxx>
  • Date: Tue, 06 Mar 2012 06:56:19 +0530
  • Message-id: <op.wap5952k2qyk0d@localhost>
On Tue, 06 Mar 2012 04:13:55 +0530, Rodney Baker <rodney.baker@xxxxxxxxxxxx> wrote:

On Tue, 6 Mar 2012 07:01:31 David C. Rankin wrote:
All,

Does anyone have a favorite way to get the total directory size besides
running 'du -hcs'? With directories with many files, du is just too slow.
Even a quick rough hack that is within 10% would be fine for taking a
quick look to find which directory is hogging all the space.

Any favorites here?

Filelight?


in my experience filelight takes about as long as "du" to show the total size of a directory including sub.s. i think the only way to speed this up significantly would be to cache the information at certain intervals when CPU load is low. i'm not aware of any application that does that.

--
phani
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups