From c5ceab51bb3de622648fcb74f562d1aa91c85ee3 Mon Sep 17 00:00:00 2001 From: RH-sdavey <32485509+RH-sdavey@users.noreply.github.com> Date: Sun, 25 Apr 2021 18:47:40 +0200 Subject: [PATCH] chronyc, ntpq: add page (#5828) --- pages/linux/chronyc.md | 28 ++++++++++++++++++++++++++++ pages/linux/ntpq.md | 24 ++++++++++++++++++++++++ 2 files changed, 52 insertions(+) create mode 100644 pages/linux/chronyc.md create mode 100644 pages/linux/ntpq.md diff --git a/pages/linux/chronyc.md b/pages/linux/chronyc.md new file mode 100644 index 000000000..64f187c4b --- /dev/null +++ b/pages/linux/chronyc.md @@ -0,0 +1,28 @@ +# chronyc + +> Query the Chrony NTP daemon. +> More information: . + +- Start chronyc in interactive mode: + +`chronyc` + +- Display tracking stats for the Chrony daemon: + +`chronyc tracking` + +- Print the time sources that Chrony is currently using: + +`chronyc sources` + +- Display stats for sources currently used by chrony daemon as a time source: + +`chronyc sourcestats` + +- Step the system clock immediately, bypassing any slewing: + +`chronyc makestep` + +- Display verbose information about each NTP source: + +`chronyc ntpdata` diff --git a/pages/linux/ntpq.md b/pages/linux/ntpq.md new file mode 100644 index 000000000..2ce51dec1 --- /dev/null +++ b/pages/linux/ntpq.md @@ -0,0 +1,24 @@ +# ntpq + +> Query the Network Time Protocol (NTP) daemon. +> More information: . + +- Start `ntpq` in interactive mode: + +`ntpq --interactive` + +- Print a list of NTP peers: + +`ntpq --peers` + +- Print a list of NTP peers without resolving hostnames from IP addresses: + +`ntpq --numeric --peers` + +- Use `ntpq` in debugging mode: + +`ntpq --debug-level` + +- Print NTP system variables values: + +`ntpq --command={{rv}}`