Duc – inspect and visualize disk usage

Duc is a library and suite of tools for inspecting disk usage.

Duc maintains a database of accumulated sizes of directories of the file system, and allows you to query this database with some tools, or create fancy graphs showing you where your bytes are.

Duc comes with a command line tool called duc, which is used to create, maintain and query the disk usage database.

Duc comes with a number of user interfaces for querying the database: use Duc on the console with a command line or ncurses interface, on graphical desktops with an X or OpenGL GUI, or over the web using the CGI interface.

The software uses Tokyo Cabinet to manage its database.

Features include:

  • Built to scale to huge filesystems.
  • Fast in operation – disk usage is stored in an optimized database.
  • Various sub-commands for querying or exploring the index:
    • duc info shows a list of available directory trees in the database, and the time and date of the last scan.
    • duc ls lists all files and directories under the given path on the console.
    • duc ui runs a ncurses based console user interface for exploring the file system usage.
    • duc gui starts a graphical (X11) interface representing the file system in a sunburst graph.
  • Handles multiple path arguments.
  • DPI handing for graph font size.

Website: duc.zevv.nl
Support: Documentation, GitHub Code Repository
Developer: Ico Doornekamp
License: GNU Lesser General Public License Version 3


Duc is written in C. Learn C with our recommended free books and free tutorials.

Return to Reclaiming Disk Space Home Page

Read our complete collection of recommended free and open source software. The collection covers all categories of software.

The software collection forms part of our series of informative articles for Linux enthusiasts. There's tons of in-depth reviews, alternatives to Google, fun things to try, hardware, free programming books and tutorials, and much more.
Share this article