systemctl-lj
--systemctl-ljv1.7.0Converts `systemctl list-jobs` command output to JSON
Linuxcommand
$ systemctl list-jobs | jc-rs --systemctl-ljA real pair
From the reference corpus (ubuntu-18.04/systemctl-lj.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.
systemctl list-jobsubuntu-18.04
JOB UNIT TYPE STATE 3543 nginxAfterGlusterfs.service start waiting 3545 glusterReadyForLocalhostMount.service start running 3506 nginx.service start waiting 4 jobs listed.
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
[ { "job": 3543, "unit": "nginxAfterGlusterfs.service", "type": "start", "state": "waiting" }, { "job": 3545, "unit": "glusterReadyForLocalhostMount.service", "type": "start", "state": "running" }, { "job": 3506, "unit": "nginx.service", "type": "start", "state": "waiting" } ]
Fixture coverage
1/1oracle-valid pairs match under the published structural JSON comparison
Magic syntax
jc-rs systemctl list-jobsjc-rs runs the command itself and parses what it prints. Recognised for: `systemctl list-jobs`Source: crates/jc-rs-parsers/src/system/systemctl_lj.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