Ray's Knowledge Base
Unlock

Size a huge trace tree on corona with dust, not du or find

RecipeVerified 8 Oct 2026Holds project: dftracer-utils
Recipe. When to use it, the steps, and what showed that they work.

When to use#

You need the size and file count of a big trace tree (2.5T in 665k files) and must not write or delete anything.

Steps#

  1. Run ssh corona 'cd <trace root>; dust -d 4 -n 25 <app dirs>'. dust is already on the PATH there.
  2. Read the per-directory sizes, for example the nodes_N groups.
  3. Do not walk the tree with du or a find | while loop. The user rejected du -sh --apparent-size there as too slow.

Evidence#

dust finished the 2.5T laghos tree in under two minutes and showed the biggest nodes_N groups (about 137G compressed).

Also found by searching

  • how big is a trace directory on corona
  • du on laghos traces is too slow
  • size and file count of genesis traces