Repolode
Canop

Canop/dysk

A Linux, Mac and Windows command-line utility that lists mounted filesystems with usage info, like df but with filtering, sorting and table, CSV or JSON output.

Open-source alternative to:df

Stars
2,881
Forks
63
Open issues
17
Last commit
5 days ago

What is it?

dysk is a command-line utility that lists your filesystems and shows their size, used and free space, and mount points. It is positioned as a more capable replacement for the classic df command, and runs on Linux, Mac and Windows.

Output can be customized by choosing which columns to display, filtering rows, and sorting by any column. Results can be printed as a formatted table, as CSV, or as JSON, which pairs well with tools like jq for scripting. The data shown is provided by the lfs-core Rust crate, which can also be used as a library in other Rust applications.

Installation options include crates.io, conda-forge, and other packaging channels. The project was previously named lfs.

Key features

  • 01Lists filesystems with size, used and free space, and mount points
  • 02Lets you choose which columns to display
  • 03Supports filtering and sorting of results
  • 04Outputs as a table, CSV or JSON
  • 05Runs on Linux, Mac and Windows

Use cases

  • Checking disk usage on a server without memorizing df flags
  • Exporting filesystem stats as JSON for monitoring scripts
  • Quickly finding which partition is running low on space
  • Reusing the lfs-core crate to read filesystem data in a Rust application

Topics

FAQ

What is dysk?
A Linux, Mac and Windows command-line utility that lists mounted filesystems with usage info, like df but with filtering, sorting and table, CSV or JSON output. dysk is a command-line utility that lists your filesystems and shows their size, used and free space, and mount points. It is positioned as a more capable replacement for the classic df command, and runs on Linux, Mac and Windows.
Is dysk free to use? What license does it have?
dysk is open source under the MIT license. Check the license terms before using it in commercial products.
Is dysk still maintained?
Actively maintained. The last commit to dysk was on Oct 17, 2026.
What can I use dysk for?
Checking disk usage on a server without memorizing df flags Exporting filesystem stats as JSON for monitoring scripts Quickly finding which partition is running low on space Reusing the lfs-core crate to read filesystem data in a Rust application
Where can I get dysk?
The source code and installation instructions are on GitHub: https://github.com/Canop/dysk

Summary generated by AI from the project's README. GitHub stats refresh daily.

Related projects