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

doc fixes

This commit is contained in:
Kelly Brazil
2022-09-26 19:41:35 -07:00
parent 32019c99f4
commit 97eefe28f1
44 changed files with 56 additions and 56 deletions

View File

@ -76,7 +76,7 @@ Examples:
... ...
] ]
$ cat /proc/interrupts | jc --proc_interrupts -p -r $ cat /proc/interrupts | jc --proc-interrupts -p -r
[ [
{ {
"irq": "0", "irq": "0",

View File

@ -75,7 +75,7 @@ Examples:
... ...
] ]
$ cat /proc/locks | jc --proc_locks -p -r $ cat /proc/locks | jc --proc-locks -p -r
[ [
{ {
"id": "1", "id": "1",

View File

@ -75,7 +75,7 @@ Examples:
... ...
] ]
$ cat /proc/modules | jc --proc_modules -p -r $ cat /proc/modules | jc --proc-modules -p -r
[ [
{ {
"module": "binfmt_misc", "module": "binfmt_misc",

View File

@ -64,7 +64,7 @@ Examples:
... ...
] ]
$ cat /proc/mtrr | jc --proc_mtrr -p -r $ cat /proc/mtrr | jc --proc-mtrr -p -r
[ [
{ {
"register": "reg00", "register": "reg00",

View File

@ -77,7 +77,7 @@ Examples:
... ...
] ]
$ cat /proc/net/dev | jc --proc -p -r $ cat /proc/net/dev | jc --proc-net-dev -p -r
[ [
{ {
"interface": "lo:", "interface": "lo:",

View File

@ -15,7 +15,7 @@ or
or or
$ cat /proc/net/dev_mcast | jc --proc-net-dev_mcast $ cat /proc/net/dev_mcast | jc --proc-net-dev-mcast
Usage (module): Usage (module):
@ -60,7 +60,7 @@ Examples:
... ...
] ]
$ cat /proc/net/dev_mcast | jc --proc -p -r $ cat /proc/net/dev_mcast | jc --proc-net-dev-mcast -p -r
[ [
{ {
"index": "2", "index": "2",

View File

@ -87,7 +87,7 @@ Examples:
... ...
] ]
$ cat /proc/net/igmp | jc --proc -p -r $ cat /proc/net/igmp | jc --proc-net-igmp -p -r
[ [
{ {
"index": "0", "index": "0",

View File

@ -71,7 +71,7 @@ Examples:
... ...
] ]
$ cat /proc/net/igmp6 | jc --proc -p -r $ cat /proc/net/igmp6 | jc --proc-net-igmp6 -p -r
[ [
{ {
"index": "1", "index": "1",

View File

@ -75,7 +75,7 @@ Examples:
... ...
] ]
$ cat /proc/net/netlink | jc --proc -p -r $ cat /proc/net/netlink | jc --proc-net-netlink -p -r
[ [
{ {
"sk": "ffff9b61adaff000", "sk": "ffff9b61adaff000",

View File

@ -169,7 +169,7 @@ Examples:
... ...
] ]
$ cat /proc/net/netstat | jc --proc -p -r $ cat /proc/net/netstat | jc --proc-net-netstat -p -r
[ [
{ {
"SyncookiesSent": "0", "SyncookiesSent": "0",

View File

@ -56,7 +56,7 @@ Examples:
"Inode": 34754 "Inode": 34754
} }
$ cat /proc/net/packet | jc --proc -p -r $ cat /proc/net/packet | jc --proc-net-packet -p -r
{ {
"sk": "ffff9b61b56c1800", "sk": "ffff9b61b56c1800",
"RefCnt": "3", "RefCnt": "3",

View File

@ -97,7 +97,7 @@ Examples:
... ...
] ]
$ cat /proc/net/protocols | jc --proc -p -r $ cat /proc/net/protocols | jc --proc-net-protocols -p -r
[ [
{ {
"protocol": "AF_VSOCK", "protocol": "AF_VSOCK",

View File

@ -65,7 +65,7 @@ Examples:
... ...
] ]
$ cat /proc/net/route | jc --proc -p -r $ cat /proc/net/route | jc --proc-net-route -p -r
[ [
{ {
"Iface": "ens33", "Iface": "ens33",

View File

@ -59,7 +59,7 @@ Examples:
... ...
] ]
$ cat /proc/net/unix | jc --proc -p -r $ cat /proc/net/unix | jc --proc-net-unix -p -r
[ [
{ {
"Num": "ffff9b61ac49c400:", "Num": "ffff9b61ac49c400:",

View File

@ -57,7 +57,7 @@ Examples:
... ...
] ]
$ cat /proc/partitions | jc --proc_partitions -p -r $ cat /proc/partitions | jc --proc-partitions -p -r
[ [
{ {
"major": "7", "major": "7",

View File

@ -113,7 +113,7 @@ Examples:
... ...
] ]
$ cat /proc/1/mountinfo | jc --proc_pid-mountinfo -p -r $ cat /proc/1/mountinfo | jc --proc-pid-mountinfo -p -r
[ [
{ {
"mount_id": "24", "mount_id": "24",

View File

@ -19,17 +19,17 @@ or
or or
$ cat /proc/1/numa_maps | jc --proc-numa-maps $ cat /proc/1/numa_maps | jc --proc-pid-numa-maps
Usage (module): Usage (module):
import jc import jc
result = jc.parse('proc', proc_numa_maps_file) result = jc.parse('proc', proc_pid_numa_maps_file)
or or
import jc import jc
result = jc.parse('proc_numa_maps', proc_numa_maps_file) result = jc.parse('proc_pid_numa_maps', proc_pid_numa_maps_file)
Schema: Schema:
@ -75,7 +75,7 @@ Examples:
... ...
] ]
$ cat /proc/1/numa_maps | jc --proc_numa_maps -p -r $ cat /proc/1/numa_maps | jc --proc-pid-numa-maps -p -r
[ [
{ {
"address": "7f53b5083000", "address": "7f53b5083000",

View File

@ -15,7 +15,7 @@ or
or or
$ cat /proc/1/stat | jc --proc-pid_stat $ cat /proc/1/stat | jc --proc-pid-stat
Usage (module): Usage (module):
@ -144,7 +144,7 @@ Examples:
"state_pretty": "Sleeping in an interruptible wait" "state_pretty": "Sleeping in an interruptible wait"
} }
$ cat /proc/1/stat | jc --proc -p -r $ cat /proc/1/stat | jc --proc-pid-stat -p -r
{ {
"pid": 1, "pid": 1,
"comm": "systemd", "comm": "systemd",

View File

@ -15,7 +15,7 @@ or
or or
$ cat /proc/1/statm | jc --proc-pid_statm $ cat /proc/1/statm | jc --proc-pid-statm
Usage (module): Usage (module):

View File

@ -15,7 +15,7 @@ or
or or
$ cat /proc/1/status | jc --proc-pid_status $ cat /proc/1/status | jc --proc-pid-status
Usage (module): Usage (module):
@ -210,7 +210,7 @@ Examples:
"SigQ_limit": 15245 "SigQ_limit": 15245
} }
$ cat /proc/1/status | jc --proc -p -r $ cat /proc/1/status | jc --proc-pid-status -p -r
{ {
"Name": "systemd", "Name": "systemd",
"Umask": "0000", "Umask": "0000",

View File

@ -53,7 +53,7 @@ Examples:
... ...
] ]
$ cat /proc/swaps | jc --proc_swaps -p -r $ cat /proc/swaps | jc --proc-swaps -p -r
[ [
{ {
"filename": "/swap.img", "filename": "/swap.img",

View File

@ -75,7 +75,7 @@ Examples:
... ...
] ]
$ cat /proc/vmallocinfo | jc --proc -p -r $ cat /proc/vmallocinfo | jc --proc-vmallocinfo -p -r
[ [
{ {
"start": "0xffffb3c1c0000000", "start": "0xffffb3c1c0000000",

View File

@ -71,7 +71,7 @@ Examples:
... ...
] ]
$ cat /proc/interrupts | jc --proc_interrupts -p -r $ cat /proc/interrupts | jc --proc-interrupts -p -r
[ [
{ {
"irq": "0", "irq": "0",

View File

@ -70,7 +70,7 @@ Examples:
... ...
] ]
$ cat /proc/locks | jc --proc_locks -p -r $ cat /proc/locks | jc --proc-locks -p -r
[ [
{ {
"id": "1", "id": "1",

View File

@ -70,7 +70,7 @@ Examples:
... ...
] ]
$ cat /proc/modules | jc --proc_modules -p -r $ cat /proc/modules | jc --proc-modules -p -r
[ [
{ {
"module": "binfmt_misc", "module": "binfmt_misc",

View File

@ -59,7 +59,7 @@ Examples:
... ...
] ]
$ cat /proc/mtrr | jc --proc_mtrr -p -r $ cat /proc/mtrr | jc --proc-mtrr -p -r
[ [
{ {
"register": "reg00", "register": "reg00",

View File

@ -72,7 +72,7 @@ Examples:
... ...
] ]
$ cat /proc/net/dev | jc --proc -p -r $ cat /proc/net/dev | jc --proc-net-dev -p -r
[ [
{ {
"interface": "lo:", "interface": "lo:",

View File

@ -10,7 +10,7 @@ or
or or
$ cat /proc/net/dev_mcast | jc --proc-net-dev_mcast $ cat /proc/net/dev_mcast | jc --proc-net-dev-mcast
Usage (module): Usage (module):
@ -55,7 +55,7 @@ Examples:
... ...
] ]
$ cat /proc/net/dev_mcast | jc --proc -p -r $ cat /proc/net/dev_mcast | jc --proc-net-dev-mcast -p -r
[ [
{ {
"index": "2", "index": "2",

View File

@ -82,7 +82,7 @@ Examples:
... ...
] ]
$ cat /proc/net/igmp | jc --proc -p -r $ cat /proc/net/igmp | jc --proc-net-igmp -p -r
[ [
{ {
"index": "0", "index": "0",

View File

@ -66,7 +66,7 @@ Examples:
... ...
] ]
$ cat /proc/net/igmp6 | jc --proc -p -r $ cat /proc/net/igmp6 | jc --proc-net-igmp6 -p -r
[ [
{ {
"index": "1", "index": "1",

View File

@ -70,7 +70,7 @@ Examples:
... ...
] ]
$ cat /proc/net/netlink | jc --proc -p -r $ cat /proc/net/netlink | jc --proc-net-netlink -p -r
[ [
{ {
"sk": "ffff9b61adaff000", "sk": "ffff9b61adaff000",

View File

@ -164,7 +164,7 @@ Examples:
... ...
] ]
$ cat /proc/net/netstat | jc --proc -p -r $ cat /proc/net/netstat | jc --proc-net-netstat -p -r
[ [
{ {
"SyncookiesSent": "0", "SyncookiesSent": "0",

View File

@ -51,7 +51,7 @@ Examples:
"Inode": 34754 "Inode": 34754
} }
$ cat /proc/net/packet | jc --proc -p -r $ cat /proc/net/packet | jc --proc-net-packet -p -r
{ {
"sk": "ffff9b61b56c1800", "sk": "ffff9b61b56c1800",
"RefCnt": "3", "RefCnt": "3",

View File

@ -92,7 +92,7 @@ Examples:
... ...
] ]
$ cat /proc/net/protocols | jc --proc -p -r $ cat /proc/net/protocols | jc --proc-net-protocols -p -r
[ [
{ {
"protocol": "AF_VSOCK", "protocol": "AF_VSOCK",

View File

@ -60,7 +60,7 @@ Examples:
... ...
] ]
$ cat /proc/net/route | jc --proc -p -r $ cat /proc/net/route | jc --proc-net-route -p -r
[ [
{ {
"Iface": "ens33", "Iface": "ens33",

View File

@ -54,7 +54,7 @@ Examples:
... ...
] ]
$ cat /proc/net/unix | jc --proc -p -r $ cat /proc/net/unix | jc --proc-net-unix -p -r
[ [
{ {
"Num": "ffff9b61ac49c400:", "Num": "ffff9b61ac49c400:",

View File

@ -52,7 +52,7 @@ Examples:
... ...
] ]
$ cat /proc/partitions | jc --proc_partitions -p -r $ cat /proc/partitions | jc --proc-partitions -p -r
[ [
{ {
"major": "7", "major": "7",

View File

@ -108,7 +108,7 @@ Examples:
... ...
] ]
$ cat /proc/1/mountinfo | jc --proc_pid-mountinfo -p -r $ cat /proc/1/mountinfo | jc --proc-pid-mountinfo -p -r
[ [
{ {
"mount_id": "24", "mount_id": "24",

View File

@ -14,17 +14,17 @@ or
or or
$ cat /proc/1/numa_maps | jc --proc-numa-maps $ cat /proc/1/numa_maps | jc --proc-pid-numa-maps
Usage (module): Usage (module):
import jc import jc
result = jc.parse('proc', proc_numa_maps_file) result = jc.parse('proc', proc_pid_numa_maps_file)
or or
import jc import jc
result = jc.parse('proc_numa_maps', proc_numa_maps_file) result = jc.parse('proc_pid_numa_maps', proc_pid_numa_maps_file)
Schema: Schema:
@ -70,7 +70,7 @@ Examples:
... ...
] ]
$ cat /proc/1/numa_maps | jc --proc_numa_maps -p -r $ cat /proc/1/numa_maps | jc --proc-pid-numa-maps -p -r
[ [
{ {
"address": "7f53b5083000", "address": "7f53b5083000",

View File

@ -10,7 +10,7 @@ or
or or
$ cat /proc/1/stat | jc --proc-pid_stat $ cat /proc/1/stat | jc --proc-pid-stat
Usage (module): Usage (module):
@ -139,7 +139,7 @@ Examples:
"state_pretty": "Sleeping in an interruptible wait" "state_pretty": "Sleeping in an interruptible wait"
} }
$ cat /proc/1/stat | jc --proc -p -r $ cat /proc/1/stat | jc --proc-pid-stat -p -r
{ {
"pid": 1, "pid": 1,
"comm": "systemd", "comm": "systemd",

View File

@ -10,7 +10,7 @@ or
or or
$ cat /proc/1/statm | jc --proc-pid_statm $ cat /proc/1/statm | jc --proc-pid-statm
Usage (module): Usage (module):

View File

@ -10,7 +10,7 @@ or
or or
$ cat /proc/1/status | jc --proc-pid_status $ cat /proc/1/status | jc --proc-pid-status
Usage (module): Usage (module):
@ -205,7 +205,7 @@ Examples:
"SigQ_limit": 15245 "SigQ_limit": 15245
} }
$ cat /proc/1/status | jc --proc -p -r $ cat /proc/1/status | jc --proc-pid-status -p -r
{ {
"Name": "systemd", "Name": "systemd",
"Umask": "0000", "Umask": "0000",

View File

@ -48,7 +48,7 @@ Examples:
... ...
] ]
$ cat /proc/swaps | jc --proc_swaps -p -r $ cat /proc/swaps | jc --proc-swaps -p -r
[ [
{ {
"filename": "/swap.img", "filename": "/swap.img",

View File

@ -70,7 +70,7 @@ Examples:
... ...
] ]
$ cat /proc/vmallocinfo | jc --proc -p -r $ cat /proc/vmallocinfo | jc --proc-vmallocinfo -p -r
[ [
{ {
"start": "0xffffb3c1c0000000", "start": "0xffffb3c1c0000000",