最終更新:2024-06-25 (火) 11:45:40 (164d)  

chronyc
Top / chronyc

command-line interface for chrony daemon

https://chrony-project.org/doc/4.5/chronyc.html

コマンド

System clock

Time Sources

メモ

  • chronyc activity?
  • chronyc ntpdata?

help

  • Usage: chronyc [OPTION]... [COMMAND]...
    
    Options:
      -4		Use IPv4 addresses only
      -6		Use IPv6 addresses only
      -n		Don't resolve hostnames
      -N		Print original source names
      -c		Enable CSV format
      -m		Accept multiple commands
      -h HOST	Specify server (/run/chrony/chronyd.sock,127.0.0.1,::1)
      -p PORT	Specify UDP port (323)
      -v, --version	Print version and exit
          --help	Print usage and exit

メモ

  • [root@localhost ~]# chronyc sources
    210 Number of sources = 4
    MS Name/IP address           Stratum Poll LastRx Last sample
    ============================================================================
    ^+ x.ns.gin.ntt.net              2    7     11  +4220us[+4070us] +/-   79ms
    ^? balthasar.gimasystem.jp       3    6     10  +3233us[+3083us] +/- 9123us
    ^* 60-56-214-78f2.kns1.eonet     1    7      4   -166us[ -316us] +/- 9567us
    ^+ wktk-sub.tk                   2    7     11  -1239us[-1389us] +/-   80ms

参考