Repository: kudu Updated Branches: refs/heads/master 5df9c9e0f -> baa1e677f
[docs] Add lpeers output to ntp monitoring The ntp monitoring had an example of opeers output and had a tip explaining some versions have lpeers and some others opeers. These two are in fact two separate, although similar commands, and as far as I know both of them are available in all modern versions. Added an lpeers output, but had to change the lpeers output as well to keep things consistent. I also changed the tip to reflect this. Change-Id: I5009a330cfd3e81496e95b3e3cf1fb2b7627b085 Reviewed-on: http://gerrit.cloudera.org:8080/10041 Tested-by: Kudu Jenkins Reviewed-by: Todd Lipcon <t...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/kudu/repo Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/e0e6d5a3 Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/e0e6d5a3 Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/e0e6d5a3 Branch: refs/heads/master Commit: e0e6d5a3074aed1f45be402840f9aa93695649ae Parents: 5df9c9e Author: Attila Bukor <abu...@cloudera.com> Authored: Thu Apr 12 18:15:00 2018 +0200 Committer: Todd Lipcon <t...@apache.org> Committed: Fri Apr 13 22:55:33 2018 +0000 ---------------------------------------------------------------------- docs/troubleshooting.adoc | 64 +++++++++++++++++++++++++----------------- 1 file changed, 38 insertions(+), 26 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/kudu/blob/e0e6d5a3/docs/troubleshooting.adoc ---------------------------------------------------------------------- diff --git a/docs/troubleshooting.adoc b/docs/troubleshooting.adoc index b5c5ae1..71b3771 100644 --- a/docs/troubleshooting.adoc +++ b/docs/troubleshooting.adoc @@ -181,34 +181,46 @@ can be used to dump further information about which network time servers are currently acting as sources: ---- -$ ntpq -n -c opeers +$ ntpq -nc lpeers + remote refid st t when poll reach delay offset jitter +============================================================================== +-108.59.2.24 130.133.1.10 2 u 13 64 1 71.743 0.373 0.016 ++192.96.202.120 129.6.15.28 2 u 12 64 1 72.583 -0.426 0.028 +-69.10.161.7 204.26.59.157 3 u 11 64 1 15.741 2.641 0.021 +-173.255.206.154 45.56.123.24 3 u 10 64 1 43.502 0.199 0.029 +-69.195.159.158 128.138.140.44 2 u 9 64 1 53.885 -0.016 0.013 +*216.218.254.202 .CDMA. 1 u 6 64 1 1.475 -0.400 0.012 ++129.250.35.250 249.224.99.213 2 u 7 64 1 1.342 -0.640 0.018 + 45.76.244.193 216.239.35.4 2 u 6 64 1 17.380 -0.754 0.051 + 69.89.207.199 212.215.1.157 2 u 5 64 1 57.796 -3.411 0.059 + 171.66.97.126 .GPSs. 1 u 4 64 1 1.024 -0.374 0.018 + 66.228.42.59 211.172.242.174 3 u 3 64 1 72.409 0.895 0.964 + 91.189.89.198 17.253.34.125 2 u 2 64 1 135.195 -0.329 0.171 + 162.210.111.4 216.218.254.202 2 u 1 64 1 28.570 0.693 0.306 + 199.102.46.80 .GPS. 1 u 2 64 1 55.652 -0.039 0.019 + 91.189.89.199 17.253.34.125 2 u 1 64 1 135.265 -0.413 0.037 +$ ntpq -nc opeers remote local st t when poll reach delay offset disp ============================================================================== - 0.0.0.0 0.0.0.0 16 p - 64 0 0.000 0.000 16000.0 - 0.0.0.0 0.0.0.0 16 p - 64 0 0.000 0.000 16000.0 - 0.0.0.0 0.0.0.0 16 p - 64 0 0.000 0.000 16000.0 - 0.0.0.0 0.0.0.0 16 p - 64 0 0.000 0.000 16000.0 - 0.0.0.0 0.0.0.0 16 p - 64 0 0.000 0.000 16000.0 --108.59.2.24 10.16.2.89 2 u 3 64 3 74.380 0.321 62.992 --208.82.104.205 10.16.2.89 2 u 5 64 3 52.654 -4.054 62.965 -#192.96.202.120 10.16.2.89 2 u 1 64 3 74.737 6.538 62.988 -#69.10.161.7 10.16.2.89 3 u 5 64 3 28.353 -1.967 62.960 --173.255.206.154 10.16.2.89 3 u - 64 3 42.906 -3.127 62.996 --69.195.159.158 10.16.2.89 2 u 1 64 3 52.543 -4.788 62.987 -*216.218.254.202 10.16.2.89 1 u 5 64 3 2.567 0.053 62.974 --129.250.35.250 10.16.2.89 2 u 3 64 3 2.603 0.256 62.985 -+45.76.244.193 10.16.2.89 2 u 5 64 3 19.522 0.188 62.969 --69.89.207.199 10.16.2.89 2 u 5 64 3 66.687 -0.395 62.967 --171.66.97.126 10.16.2.89 1 u 1 64 3 12.627 -3.572 62.963 -#66.228.42.59 10.16.2.89 4 u 1 64 3 72.143 4.034 62.971 - 91.189.89.198 10.16.2.89 2 u 5 64 3 135.329 3.069 3937.74 -#162.210.111.4 10.16.2.89 2 u - 64 3 29.572 6.849 62.966 -+199.102.46.80 10.16.2.89 1 u 3 64 3 57.022 0.111 63.386 - 91.189.89.199 10.16.2.89 2 u 4 64 3 138.269 3.228 3937.98 ----- - -TIP: Depending on the specific version of NTP, the correct command may be either -`ntpq -n -c opeers` or `ntpq -n -c lpeers`. +-108.59.2.24 10.17.100.238 2 u 17 64 1 71.743 0.373 187.573 ++192.96.202.120 10.17.100.238 2 u 16 64 1 72.583 -0.426 187.594 +-69.10.161.7 10.17.100.238 3 u 15 64 1 15.741 2.641 187.569 +-173.255.206.154 10.17.100.238 3 u 14 64 1 43.502 0.199 187.580 +-69.195.159.158 10.17.100.238 2 u 13 64 1 53.885 -0.016 187.561 +*216.218.254.202 10.17.100.238 1 u 10 64 1 1.475 -0.400 187.543 ++129.250.35.250 10.17.100.238 2 u 11 64 1 1.342 -0.640 187.588 + 45.76.244.193 10.17.100.238 2 u 10 64 1 17.380 -0.754 187.596 + 69.89.207.199 10.17.100.238 2 u 9 64 1 57.796 -3.411 187.541 + 171.66.97.126 10.17.100.238 1 u 8 64 1 1.024 -0.374 187.578 + 66.228.42.59 10.17.100.238 3 u 7 64 1 72.409 0.895 187.589 + 91.189.89.198 10.17.100.238 2 u 6 64 1 135.195 -0.329 187.584 + 162.210.111.4 10.17.100.238 2 u 5 64 1 28.570 0.693 187.606 + 199.102.46.80 10.17.100.238 1 u 4 64 1 55.652 -0.039 187.587 + 91.189.89.199 10.17.100.238 2 u 3 64 1 135.265 -0.413 187.621 +---- + +TIP: Both `opeers` and `lpeers` may be helpful as `lpeers` lists refid and +jitter, while `lpeers` lists dispersion. [NOTE]