// install
[email protected]:/etc# apt-get install ntp
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
libopts25
Suggested packages:
ntp-doc
The following NEW packages will be installed:
libopts25 ntp
0 upgraded, 2 newly installed, 0 to remove and 3 not upgraded.
Need to get 473 kB of archives.
After this operation, 1676 kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://mirrors.aliyun.com/ubuntu/ trusty/main libopts25 amd64 1:5.18-2ubuntu2 [55.3 kB]
Get:2 http://mirrors.aliyun.com/ubuntu/ trusty-security/main ntp amd64 1:4.2.6.p5+dfsg-3ubuntu2.14.04.3 [418 kB]
Fetched 473 kB in 1s (425 kB/s)
// watch
# watch ntpd -p
Every 2.0s: ntpq -p Thu Aug 6 20:46:34 2015
remote refid st t when poll reach delay offset jitter
==============================================================================
202.118.1.130 202.118.1.46 2 u 58 64 377 12.701 -4.548 1.401
*dns1.synet.edu. 202.118.1.46 2 u 62 64 377 12.843 -4.611 1.578
dns2.synet.edu. 202.118.1.46 2 u 63 64 277 12.780 -6.258 2.245
golem.canonical 131.188.3.220 2 u 60 64 377 327.136 -27.268 15.030