NTPQ

Description

Standard NTP query program

Command

ntpq [ -<flag> [<val>] | --<name>[{=|}<val>] ]... [ host ...]
-4 no ipv4 Force IPv4 DNS name resolution - prohibits the option 'ipv6'
-6 no ipv6 Force IPv6 DNS name resolution - prohibits the option 'ipv4'
-c Str command run a command and exit - may appear multiple times
-d no debug-level Increase output debug message level - may appear multiple times
-D Str set-debug-level Set the output debug message level - may appear multiple times
-i no interactive
-i no interactive Force ntpq to operate in interactive mode - prohibits these options: command peers
-n no no opt numeric old-rv version numeric host addresses Always output status line with readvar Output version information and exit
-p no peers Print a list of the peers -prohibits the option 'interactive'
-w no opt wide version Display the full 'remote' value output version information and exit
-? no help Display extended usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
-< Str load-opts Load options from a config file

Results

Example

U2504C099999999999>ntpq
ntpq>...
ntpq>quit
U2504C099999999999>