dundee / gdu

Fast disk usage analyzer with console interface written in Go
MIT License
3.81k stars 138 forks source link

Feature: add a mode for visualizing inodes distribution on the disk #264

Open Drugoy opened 1 year ago

Drugoy commented 1 year ago

gdu class of utils is nice at finding out "the fat of the disk", but it currently can't solve a problem when a bunch of small files (that might not weigh much) can drain the pool of free inodes.

It would be nice to have gdu be capable of working in a mode where it visualizes the distribution of inodes on the disk, just like it currently does with files sizes.

rwahyudi commented 1 year ago

You can display the total number of files in the directory by typing 'c' and uppercase 'C' to sort the result by number of files. There is no graph visualization but for me, the number enough to paint the picture.

Drugoy commented 1 year ago

@rwahyudi thanks for the workaround, but I'd still prefer to have a proper visualization, especially given that it seems to not do the counting on the go, but rather at scan time, so it should probably be incredibly simple to just pass different data (inode count rather than used disk size) to the UI to visualize it nicely.