1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
sudo apt-get install -y ntp
# 설치 후, 실행 확인
systemctl status ntp
# ex) 정확한 숫자는 다소 차이가 있을 수 있음
root@worker:/etc/apt# sudo systemctl status ntp
● ntp.service - Network Time Service
Loaded: loaded (/lib/systemd/system/ntp.service; enabled; vendor preset: enabled)
Active: active (running) since Thu 2009-01-01 10:25:15 KST; 6s ago
Docs: man:ntpd(8)
Process: 781120 ExecStart=/usr/lib/ntp/ntp-systemd-wrapper (code=exited, status=0/SUCCESS)
Main PID: 781126 (ntpd)
Tasks: 2 (limit: 57601)
Memory: 1.4M
CPU: 16ms
CGroup: /system.slice/ntp.service
└─781126 /usr/sbin/ntpd -p /var/run/ntpd.pid -g -u 133:138
Jan 01 10:25:15 worker ntpd[781126]: kernel reports TIME_ERROR: 0x41: Clock Unsynchronized
Jan 01 10:25:15 worker systemd[1]: Started Network Time Service.
Jan 01 10:25:16 worker ntpd[781126]: Soliciting pool server 211.233.40.78
Jan 01 10:25:17 worker ntpd[781126]: Soliciting pool server 121.162.54.1
Jan 01 10:25:17 worker ntpd[781126]: Soliciting pool server 106.247.248.106
|