728x90
반응형

 

# chrony 설치 

# apt install chrony

 

# chrony 프로세서 확인, 시간 확인   

# service --status-all
 [ + ]  chrony

# service chrony status
● chrony.service - chrony, an NTP client/server
     Loaded: loaded (/lib/systemd/system/chrony.service; enabled; vendor preset: enabled)
     Active: active (running) since Sun 2024-01-07 11:51:26 KST; 7min ago
       Docs: man:chronyd(8)
             man:chronyc(1)
             man:chrony.conf(5)
    Process: 13125 ExecStart=/usr/lib/systemd/scripts/chronyd-starter.sh $DAEMON_OPTS (code=exited, status=0/SUCCESS)
   Main PID: 13135 (chronyd)
      Tasks: 2 (limit: 4537)
     Memory: 1.6M
     CGroup: /system.slice/chrony.service
             ├─13135 /usr/sbin/chronyd -F 1
             └─13136 /usr/sbin/chronyd -F 1

Jan 07 11:51:26 ubuntu.localdomain systemd[1]: Starting chrony, an NTP client/server...
Jan 07 11:51:26 ubuntu.localdomain chronyd[13135]: chronyd version 4.2 starting (+CMDMON +NTP +REFCLOCK +RTC +PRIVDROP +SCFILTER +SIGND +ASYNCDNS +NTS +SECHASH +IPV6 -DEBUG)
Jan 07 11:51:26 ubuntu.localdomain chronyd[13135]: Initial frequency 34.807 ppm
Jan 07 11:51:26 ubuntu.localdomain chronyd[13135]: Using right/UTC timezone to obtain leap second data
Jan 07 11:51:26 ubuntu.localdomain chronyd[13135]: Loaded seccomp filter (level 1)
Jan 07 11:51:26 ubuntu.localdomain systemd[1]: Started chrony, an NTP client/server.
Jan 07 11:51:34 ubuntu.localdomain chronyd[13135]: Selected source 193.123.243.2 (0.ubuntu.pool.ntp.org)
Jan 07 11:51:34 ubuntu.localdomain chronyd[13135]: System clock TAI offset set to 37 seconds

# timedatectl
               Local time: Sun 2024-01-07 11:58:54 KST
           Universal time: Sun 2024-01-07 02:58:54 UTC
                 RTC time: Sun 2024-01-07 02:58:53
                Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no


# chronyc sources -v

  .-- Source mode  '^' = server, '=' = peer, '#' = local clock.
 / .- Source state '*' = current best, '+' = combined, '-' = not combined,
| /             'x' = may be in error, '~' = too variable, '?' = unusable.
||                                                 .- xxxx [ yyyy ] +/- zzzz
||      Reachability register (octal) -.           |  xxxx = adjusted offset,
||      Log2(Polling interval) --.      |          |  yyyy = measured offset,
||                                \     |          |  zzzz = estimated error.
||                                 |    |           \
MS Name/IP address         Stratum Poll Reach LastRx Last sample
===============================================================================
^- prod-ntp-5.ntp4.ps5.cano>     2   6   377    26    +11ms[  +11ms] +/-  126ms
^- prod-ntp-3.ntp4.ps5.cano>     2   6   377    26    +12ms[  +12ms] +/-  124ms
^- alphyn.canonical.com          2   6   377    25    -11ms[  -11ms] +/-  132ms
^- prod-ntp-4.ntp4.ps5.cano>     2   6   377    27  +7438us[+7438us] +/-  120ms
^* 193.123.243.2                 2   6   377    31   +616us[ +753us] +/- 5886us
^- 175.193.3.234                 3   6   377    31  +1244us[+1244us] +/-   30ms
^- mail.innotab.com              3   6   377    29   +917us[ +917us] +/-   32ms
^- 106.247.248.106               2   6   377    27   +925us[ +925us] +/-   33ms
728x90
반응형
LIST

'서버가상화 > openstack' 카테고리의 다른 글

openstack Install Guide [매뉴얼]  (0) 2024.01.13
openstack 이미지(img) 다운로드 사이트  (0) 2024.01.07
openstack apache2  (0) 2024.01.07
openstack horizon (수정중)  (1) 2024.01.07
openstack nova (수정중)  (0) 2024.01.07

+ Recent posts