본문 바로가기

리눅스

[리눅스] ntpstat 명령어

반응형

ntpstat 명령어

: NTP 동기화 상태 출력

ntpstat 설치

dnf install -y ntpstat

ntpstat 실행

ntpstat
$ ntpstat    
synchronised to NTP server (203.248.240.140) at stratum 4
   time correct to within 22 ms
   polling server every 1024 s
chronyc sources
$ chronyc sources
210 Number of sources = 3
MS Name/IP address         Stratum Poll Reach LastRx Last sample               
===============================================================================
^* time.bora.net                 3  10   373   973   -395us[  -80us] +/-   20ms
^? 121.125.77.167                0  10     0     -     +0ns[   +0ns] +/-    0ns
timedatectl
$ timedatectl
               Local time: 토 2020-12-19 13:28:37 KST
           Universal time: 토 2020-12-19 04:28:37 UTC
                 RTC time: 토 2020-12-19 04:28:37
                Time zone: Asia/Seoul (KST, +0900)
System clock synchronized: yes
              NTP service: active
          RTC in local TZ: no
728x90
반응형