forked from tldr-pages/tldr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chronyc, ntpq: add page (tldr-pages#5828)
- Loading branch information
Showing
2 changed files
with
52 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# chronyc | ||
|
||
> Query the Chrony NTP daemon. | ||
> More information: <https://chrony.tuxfamily.org/doc/4.0/chronyc.html>. | ||
- 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` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# ntpq | ||
|
||
> Query the Network Time Protocol (NTP) daemon. | ||
> More information: <https://www.eecis.udel.edu/~mills/ntp/html/ntpq.html>. | ||
- 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}}` |