Skip to content
jc-rs
GitHub

proc-pid-io

--proc-pid-iov1.0.0

Converts `/proc/<pid>/io` file to JSON

Linuxfileslurpable
$ jc-rs /proc/$PID/io

A real pair

From the reference corpus (linux-proc/pid_io.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.

/proc/<pid>/iolinux-proc
rchar: 4699288382
wchar: 2931802997
syscr: 661897
syscw: 890910
read_bytes: 168468480
write_bytes: 27357184
cancelled_write_bytes: 16883712
expected outputjson
Use the Left and Right arrow keys to highlight the matching value in the input.
{
  "rchar": 4699288382,
  "wchar": 2931802997,
  "syscr": 661897,
  "syscw": 890910,
  "read_bytes": 168468480,
  "write_bytes": 27357184,
  "cancelled_write_bytes": 16883712
}

Fixture coverage

1/1oracle-valid pairs match under the published structural JSON comparison

Magic syntax

jc-rs /proc/$PID/iojc-rs reads this kernel-interface file directly and dispatches it through the matching /proc parser.

Source: crates/jc-rs-parsers/src/proc/proc_pid_io.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