-
Notifications
You must be signed in to change notification settings - Fork 138
Open
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed
Description
Flamegraphs are great for profiling but can be used for disk space also. It would be nice if dua had a CLI option to output results in the folded stack format, so that it could be piped into flamegraph.pl (or more modern alternatives like inferno).
The output format is pretty simple, every file / directory printed on a single line followed by a space and the size in bytes. The path separators are replaced with ;, and whitespace and other special chars are replaced with _. The output does not need to be sorted.
It would also be nice if hard linked files were only counted the first time, but not necessary (I don't think the original files.pl did that).
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or requesthelp wantedExtra attention is neededExtra attention is needed