dysk
$ dysk Community Low Riskdysk is a strictly read-only Rust replacement for df showing mounted filesystems, free/used space, mount points, and disk types. It supports native JSON (-j), CSV (--csv), expression filtering (-f), sorting (-s), and --color no with zero prompts.
brew install dysk dysk -j reports structured mount capacity and free bytes in <5 ms locally without an MCP server.
Agent-Readiness Checklist
Static evaluation (not yet probed on this host). Run npm run data:probe locally to capture live verification.
FCRS-1.0 6-Dimension Breakdown
Native -j JSON, --csv, -f filtering, -c column selection, and --color no in a fast non-interactive binary.
- Supports
-jJSON,--csv, and-ffilter expressions - Strictly non-interactive stdout execution
Strictly read-only mount/statvfs inspection with zero write or network actions.
- Purely read-only OS filesystem overview
Available via brew install dysk, cargo install, and binaries on Linux and macOS (no Windows support).
- Supports Linux and macOS; no Windows release
Replaces fragile df -h | awk parsing with clean -j JSON and SQL-like -f filtering.
- Built-in filtering (
-f), sorting (-s), and units (-u)
Actively maintained MIT-licensed Rust utility (Canop/dysk).
- Active upstream development and releases
Clear documentation at dystroy.org/dysk/ with filter syntax and JSON examples.
- Official guide covers
-j,-f,-s, and-cflags
Security, Auth & Guardrails
None required; queries OS mount and filesystem statistics read-only.
100% free, offline, and open-source (MIT).
# dysk Agent Rules - Prefer `dysk -j` for machine-readable disk space checks, or pass `--color no` for plain tables. - Strictly read-only; no confirmation or dry-run flags needed.
Agent-Ready Command Recipes
Safe Read-Only Queries
dysk -j
Emits an array of mounted filesystems with exact byte counts, mount points, types, and usage percentages.
dysk -j -f 'use > 80%'
Uses -f expression filtering and -j JSON output to surface nearly full volumes.
Strengths for Agents
- + Native
-jJSON and-ffilter expressions eliminate brittledftext parsing. - + Strictly read-only with
--color noand--csvsupport.
Caveats & Pitfalls
- ! Does not support Windows (
dufcovers Windows as well).