In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-01 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
Ntpq
The ntpq instruction uses NTP mode 6 packets to communicate with the NTP server and is capable of querying compatible servers on allowed networks. It runs in interactive mode or through command-line arguments.
The scope of application of this command: RedHat, RHEL, Ubuntu, CentOS, Fedora.
1. Grammar
Ntpq [- 46dinp] [- c command] [host] [...]
2. List of options
Option
Description
-4
Parsing using ipv4
-6
Parsing using ipv6
-c
Add executed commands to the list of commands for the specified host
-d
Turn on debug mode
-I
Use interactive mode
-n
Display the host address in decimal format
-p
Displays a list of server peer devices
3. Examples
View the list of server peer devices
[root@localhost ~] # ntpq-p / / View the list of peer servers
Remote refid st t when poll reach delay offset jitter
=
120.25.115.20 10.137.53.7 2 u 9 64 1 184.815 279.126 0.000
203.107.6.88 10.137.55.181 2 u 12 64 1 71.254 230.184 0.000
[root@localhost ~] #
A Linux learning platform has been made, and a prototype has come out at present, which you can refer to and use.
Link: https://pan.baidu.com/s/1GOLVU2CbpBNGtunztVpaCQ password: n7bk
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.