Last active
January 19, 2022 00:40
-
-
Save gregmark/c691a0c89185c5f17a46 to your computer and use it in GitHub Desktop.
Get NTP offset cleanly
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
ntpdc -c loopinfo | awk '^offset: {print $2}' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment