1
0
mirror of https://github.com/kellyjonbrazil/jc.git synced 2025-06-17 00:07:37 +02:00

doc update

This commit is contained in:
Kelly Brazil
2023-12-21 14:52:38 -08:00
parent 2bb201a706
commit 69a0922410
3 changed files with 36 additions and 23 deletions

View File

@ -1,5 +1,9 @@
jc changelog
20231221 v1.24.1
- Enhance `proc-net-tcp` parser to add opposite endian support for architectures
like the s390x
20231216 v1.24.0
- Add `debconf-show` command parser
- Add `iftop` command parser

View File

@ -42,30 +42,37 @@ https://github.com/torvalds/linux/blob/master/net/ipv6/tcp_ipv6.c
[
{
"entry": integer,
"local_address": string,
"local_port": integer,
"remote_address": string,
"remote_port": integer,
"state": string,
"tx_queue": string,
"rx_queue": string,
"timer_active": integer,
"jiffies_until_timer_expires": string,
"unrecovered_rto_timeouts": string,
"uid": integer,
"unanswered_0_window_probes": integer,
"inode": integer,
"sock_ref_count": integer,
"sock_mem_loc": string,
"retransmit_timeout": integer,
"soft_clock_tick": integer,
"ack_quick_pingpong": integer,
"sending_congestion_window": integer,
"slow_start_size_threshold": integer
"entry": integer,
"local_address": string,
"local_port": integer,
"remote_address": string,
"remote_port": integer,
"state": string,
"tx_queue": string,
"rx_queue": string,
"timer_active": integer,
"jiffies_until_timer_expires": string,
"unrecovered_rto_timeouts": string,
"uid": integer,
"unanswered_0_window_probes": integer,
"inode": integer,
"sock_ref_count": integer,
"sock_mem_loc": string,
"retransmit_timeout": integer,
"soft_clock_tick": integer,
"ack_quick_pingpong": integer,
"sending_congestion_window": integer,
"slow_start_size_threshold": integer,
"opposite_endian_local_address": string, [0]
"opposite_endian_remote_address": string [0]
}
]
[0] For IPv6 output originating from an opposite endian architecture
(e.g. s390x vs. x64) You should not need to use this to process
output originating from the same machine running `jc` or from a
machine with the same endianness.
Examples:
$ cat /proc/net/tcp | jc --proc -p
@ -183,4 +190,6 @@ Returns:
### Parser Information
Compatibility: linux
Version 1.0 by Alvin Solomon (alvinms01@gmail.com)
Source: [`jc/parsers/proc_net_tcp.py`](https://github.com/kellyjonbrazil/jc/blob/master/jc/parsers/proc_net_tcp.py)
Version 1.1 by Alvin Solomon (alvinms01@gmail.com)

View File

@ -1,4 +1,4 @@
.TH jc 1 2023-12-17 1.24.0 "JSON Convert"
.TH jc 1 2023-12-21 1.24.0 "JSON Convert"
.SH NAME
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
and strings