/oss · 3 merged

kellyjonbrazil/jc

A command-line tool that turns the output of common Linux commands into JSON.

the project on GitHub (opens in a new tab)
  1. 23 Nov 2026

    Reading ss output for TCP or UDP no longer crashes

    What was broken
    Turning the output of ss -t or ss -u into JSON crashed, because those commands leave out one column the reader expected.
    What I changed
    I made rows without that column read the same way, just without that field.
    Why it matters
    Common network checks like listing listening ports now work.

    see the code, #908 (opens in a new tab)

  2. 23 Nov 2026

    Swap sizes with decimals no longer crash

    What was broken
    Reading plain swapon output crashed when a size had a decimal point, like 2.2G, which is how it usually prints.
    What I changed
    I made sizes read as decimal numbers and then turned into whole bytes.
    Why it matters
    Swap usage can be read on ordinary machines without an error.

    see the code, #907 (opens in a new tab)

  3. 23 Nov 2026

    Failed systemd services are listed correctly

    What was broken
    On newer systemd, the list of failed services also included junk rows taken from the help footer, so 2 failed services showed as 6.
    What I changed
    I made the reader stop at the new footer as well as the old one.
    Why it matters
    Scripts that check for failed services see the real count.

    see the code, #906 (opens in a new tab)

← every project