mirror of
https://github.com/kellyjonbrazil/jc.git
synced 2025-08-08 22:36:48 +02:00
doc update
This commit is contained in:
@ -5,6 +5,8 @@
|
|||||||
|
|
||||||
jc - JSON Convert `timedatectl` command output parser
|
jc - JSON Convert `timedatectl` command output parser
|
||||||
|
|
||||||
|
Also supports the `timesync-status` option.
|
||||||
|
|
||||||
The `epoch_utc` calculated timestamp field is timezone-aware and is only
|
The `epoch_utc` calculated timestamp field is timezone-aware and is only
|
||||||
available if the `universal_time` field is available.
|
available if the `universal_time` field is available.
|
||||||
|
|
||||||
@ -34,7 +36,24 @@ Schema:
|
|||||||
"system_clock_synchronized": boolean,
|
"system_clock_synchronized": boolean,
|
||||||
"systemd-timesyncd.service_active": boolean,
|
"systemd-timesyncd.service_active": boolean,
|
||||||
"rtc_in_local_tz": boolean,
|
"rtc_in_local_tz": boolean,
|
||||||
"dst_active": boolean
|
"dst_active": boolean,
|
||||||
|
"server": string,
|
||||||
|
"poll_interval": string,
|
||||||
|
"leap": string,
|
||||||
|
"version": integer,
|
||||||
|
"stratum": integer,
|
||||||
|
"reference": string,
|
||||||
|
"precision": string,
|
||||||
|
"root_distance": string,
|
||||||
|
"offset": float,
|
||||||
|
"offset_unit": string,
|
||||||
|
"delay": float,
|
||||||
|
"delay_unit": string,
|
||||||
|
"jitter": float,
|
||||||
|
"jitter_unit": string,
|
||||||
|
"packet_count": integer,
|
||||||
|
"frequency": float,
|
||||||
|
"frequency_unit": string
|
||||||
}
|
}
|
||||||
|
|
||||||
Examples:
|
Examples:
|
||||||
@ -87,4 +106,4 @@ Returns:
|
|||||||
### Parser Information
|
### Parser Information
|
||||||
Compatibility: linux
|
Compatibility: linux
|
||||||
|
|
||||||
Version 1.7 by Kelly Brazil (kellyjonbrazil@gmail.com)
|
Version 1.8 by Kelly Brazil (kellyjonbrazil@gmail.com)
|
||||||
|
2
man/jc.1
2
man/jc.1
@ -1,4 +1,4 @@
|
|||||||
.TH jc 1 2023-03-05 1.23.1 "JSON Convert"
|
.TH jc 1 2023-03-18 1.23.1 "JSON Convert"
|
||||||
.SH NAME
|
.SH NAME
|
||||||
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
|
\fBjc\fP \- JSON Convert JSONifies the output of many CLI tools, file-types,
|
||||||
and strings
|
and strings
|
||||||
|
Reference in New Issue
Block a user