12 ms·
Duf: Disk Usage/Free Utility
- walrus01 6y agoI wonder if this entire thing could be built into 'glances' as an alternate pane view. https://nicolargo.github.io/glances/ https://nicolargo.github.io/glances/
- tmd83 6y agoIs there anything similar to glances that's native, super light. Don't have python in all production server and I wonder how weighty it would be when things are getting haywire .. or am I wrong and glances is lightweight enough?
- nitinreddy88 6y agoTry bashtop I dont prefer glances because of its dependencies of python and i really avoid installing big dependencies unless I feel its required for most of the other packages/use cases.
- tmd83 6y agoIt seems bashtop is being deprecated in favour of a python based program for ease of maintenance and it actually uses less cpu. Makes sense if it's doing a lot of work in bash.
- surfsvammel 6y agoI like it! Might have a go at rewriting something like this in Rust as an exercise.
- paledot 6y agoSounds like fun! Drop me a message if you get it going and want a collaborator.
- ComputerGuru 6y agoAlready done, (un)fortunately: https://github.com/bootandy/dust https://github.com/bootandy/dust
- tleb_ 6y agoDuf seems close to `df` while dust seems closer to `du`.
- vkat 6y agoWas just thinking the same!
- makapuf 6y agoWhy? This is a real question. Is it because of the pleasure of writing rust, getting rid of go? Speed? Size?
- nayuki 6y agoYour program looks nice for a text-based UI. However, I think existing graphical tools are more powerful, especially when displaying a treemap visualization. Examples: https://en.wikipedia.org/wiki/Disk_utility#Disk_space_analyzers https://en.wikipedia.org/wiki/Disk_utility#Disk_space_analyz...
- deleted 6y ago[deleted]
- someperson 6y agoFor a CLI alternative to manually running `du -sh *` recursively to try and find which directory is taking up your space I recommend `ncdu`. I'm pretty sure there was a similar CLI app better than `ncdu` but I don't recall it right now.
- zevv 6y agoThere is also Duc: https://duc.zevv.nl/ https://duc.zevv.nl/. It has a both a Tui and a Gui, but can also do nifty CGI things (shameless plug)
- fmajid 6y agoSeconded. Duc is awesome. Thanks for your great work on it!
- dmd 6y agoI love duc but man is it nearly impossible to build.
- zevv 6y agoauthor here. please drop your grievances in a github issue t see if we can help you out, because building should be a simple as "configure && make && make install"
- unhammer 6y agobaobab is a nice GUI alternative that has similar graphs to duc, except I can never remember the name =P (fortunately it shows up when I search the "start menu" for "usage") https://wiki.gnome.org/action/show/Apps/DiskUsageAnalyzer https://wiki.gnome.org/action/show/Apps/DiskUsageAnalyzer
- deleted 6y ago[deleted]
- ape4 6y agoI use `ncdu --color dark` for pretty colors.
- yellow_lead 6y agoDoes this utility accept directories as parameters? Couldn't see an example in the readme and the screenshot only shows the full-screen disk view. i.e duf directory
- throwaway8941 6y agoFrom glancing at the source code I believe this uses the same algorithm as df from coreutils. It outputs pretty much useless data for btrfs, which needs to be handled differently. See: $ btrfs fi df $ btrfs fi us
- bransonf 6y agoI have been using Spacesniffer [0] for over a decade now. But glad to see some new attempts in the space for disk usage. [0] http://www.uderzo.it/main_products/space_sniffer/ http://www.uderzo.it/main_products/space_sniffer/
- johnchristopher 6y ago+1 for spacesniffer (and the old spacemonger) I wish there were more disk space analyzer like it that use rectangular blocks of space rather than circles which I find harder to read how much space they actually take on disk.
- taffit 6y agoWhile I love the animation and zooming in and out of folder, I found that WizTree [0] is by far the fastest reading the file structure and sizes. Neither SpaceSniffer nor WinDirStat can compare to its speed. [0] https://wiztreefree.com/ https://wiztreefree.com/
- jbaber 6y agopip install [ohmu] for a nice ascii treemap. [ohmu]: https://gitlab.com/paul-nechifor/ohmu https://gitlab.com/paul-nechifor/ohmu
- wanghq 6y agoLooking for ideas to build http://dfdu.com http://dfdu.com. What should be there to ease the usage of these two commands? 1. Include the tools listed here 2. Add command usage examples
- jedbrown 6y agoFilelight is convenient if you prefer a GUI for this sort of exploration. https://kde.org/applications/en/filelight https://kde.org/applications/en/filelight
- simcop2387 6y agoI personally have used k4dirstat, but while finding it's webpage I found out that there's a more modern fork/recreation called qdirstat that doesn't need kde either called qdirstat. https://github.com/shundhammer/qdirstat https://github.com/shundhammer/qdirstat
- Aengeuad 6y agoThere's also windirstat for windows. https://windirstat.net/ https://windirstat.net/
- Heliosmaster 6y agoDisk Inventory X for MacOS: http://www.derlien.com/ http://www.derlien.com/
- Syzygies 6y agoDuf doesn't understand MacOS APFS volumes. I have two such volumes sharing my primary SSD. For those accustomed to more primitive file systems, one doesn't have to arbitrarily divide a drive into volumes of separate fixed sizes. Volumes on an APFS drive can share pooled free space. My two volumes sharing a drive have separate percentages that look quite healthy, but their combined percentage reveals that I am perilously short on space. Duf doesn't know to combine these percentages. DaisyDisk (a wonderful GUI app for managing MacOS disk space) makes the problem clear.
- dpedu 6y agoThis issue would be encountered with ZFS too.
- ozmaverick72 6y agoHaven’t tried it yet but the —hide-network option sounds really useful to me. The number of times I’ve been looking for free space on local file system when I have some massive ntfs remote file system mounted and trying to get that excluded from other utilities is a massive pain in the butt.
- yamadapc 6y agoI’ll plug my own fast OSX scanner, though “storage management” got better recently (or I hadn’t noticed when using it initially). https://beijaflor.io/blog/06-2020/filesaver-freeing-up-space/ https://beijaflor.io/blog/06-2020/filesaver-freeing-up-space...
- mikecoles 6y agoxdiskusage has been my go-to when using a gui. Package info from Debian: https://packages.debian.org/sid/x11/xdiskusage https://packages.debian.org/sid/x11/xdiskusage