netstat
--netstatv1.16.0Converts `netstat` command output to JSON
LinuxmacOSFreeBSDcommandslurpable
$ netstat | jc-rs --netstatA real pair
From the reference corpus (ubuntu-18.04/netstat-i.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.
netstatubuntu-18.04
Kernel Interface table Iface MTU RX-OK RX-ERR RX-DRP RX-OVR TX-OK TX-ERR TX-DRP TX-OVR Flg ens33 1500 245 0 0 0 197 0 0 0 BMRU lo 65536 94 0 0 0 94 0 0 0 LRU
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "iface": "ens33", "mtu": 1500, "rx_ok": 245, "rx_err": 0, "rx_drp": 0, "rx_ovr": 0, "tx_ok": 197, "tx_err": 0, "tx_drp": 0, "tx_ovr": 0, "flg": "BMRU", "kind": "interface" }, { "iface": "lo", "mtu": 65536, "rx_ok": 94, "rx_err": 0, "rx_drp": 0, "rx_ovr": 0, "tx_ok": 94, "tx_err": 0, "tx_drp": 0, "tx_ovr": 0, "flg": "LRU", "kind": "interface" } ]
Fixture coverage
37/37oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs netstatjc-rs runs the command itself and parses what it prints. Recognised for: `netstat`Source: crates/jc-rs-parsers/src/network/netstat.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