From 1a33599527de787f81a82126b78b4966d5b33f8c Mon Sep 17 00:00:00 2001 From: Aleksandr Kostikov Date: Fri, 30 Jun 2023 11:18:04 -0700 Subject: [PATCH] w32tm: add page (#10429) * w32tm: add page --------- Co-authored-by: K.B.Dharun Krishna Co-authored-by: Lena <126529524+acuteenvy@users.noreply.github.com> --- pages/windows/w32tm.md | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 pages/windows/w32tm.md diff --git a/pages/windows/w32tm.md b/pages/windows/w32tm.md new file mode 100644 index 000000000..d6cb50333 --- /dev/null +++ b/pages/windows/w32tm.md @@ -0,0 +1,32 @@ +# w32tm + +> Query and control the w32time time synchronization service. +> More information: . + +- Show the current status of time synchronization: + +`w32tm /query /status /verbose` + +- Show a time offset graph against a time server: + +`w32tm /stripchart /computer:{{time_server}}` + +- Show an NTP reply from a time server: + +`w32tm /stripchart /packetinfo /samples:1 /computer:{{time_server}}` + +- Show the state of the currently used time servers: + +`w32tm /query /peers` + +- Show configuration of the w32time service (run in elevated console): + +`w32tm /query /configuration` + +- Force time resynchronization immediately (run in elevated console): + +`w32tm /resync /force` + +- Write w32time debug logs into a file (run in elevated console): + +`w32tm /debug /enable /file:{{path\to\debug.log}} /size:{{10000000}} /entries:{{0-300}}`