df
--dfv1.1.1Converts `df` command output to JSON
LinuxmacOSFreeBSDcommandslurpable
$ df | jc-rs --dfA real pair
From the reference corpus (generic/df-long-filesystem.json). The left pane is the input the fixture ships; the right pane is the corpus's expected JSON. CI compares jc-rs with it field by field under the published differential. Hover a value to see where it came from.
dfgeneric
Filesystem Type 1024-blocks Used Available Capacity Mounted on /dev/mapper/VolGroup00-LogVol00 ext3 6030784 1147932 4571556 21% / proc proc 0 0 0 - /proc sysfs sysfs 0 0 0 - /sys
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "filesystem": "/dev/mapper/VolGroup00-LogVol00", "type": "ext3", "1024_blocks": 6030784, "used": 1147932, "available": 4571556, "mounted_on": "/", "capacity_percent": 21 }, { "filesystem": "proc", "type": "proc", "1024_blocks": 0, "used": 0, "available": 0, "mounted_on": "/proc", "capacity_percent": null }, { "filesystem": "sysfs", "type": "sysfs", "1024_blocks": 0, "used": 0, "available": 0, "mounted_on": "/sys", "capacity_percent": null } ]
Guides using this parser
Fixture coverage
10/10oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs dfjc-rs runs the command itself and parses what it prints. Recognised for: `df`Source: crates/jc-rs-parsers/src/system/df.rs. jc-rs targets the schemas defined by the original Python tool. Fixture coverage above is the measured evidence for this parser; test the inputs your pipeline depends on. Compare