2.7. Monitoring NTP clients


Display the list of clients that accessed the chronyd Network Time Protocol (NTP) server. This information is useful for verifying which clients are actively synchronizing and checking their connection history.

Prerequisites

  • The chronyd service is running.
  • chronyd is configured to allow NTP clients. For example, add the allow directive to /etc/chrony.conf.

Procedure

  1. Display a list of clients by using the chronyc clients command:

    # chronyc clients
  2. Review the command output:

    Hostname                          NTP  Drop  Int  IntL  Last  Cmd  Drop  Int  Last
    ====================================================================================
    client1.example.net 			   10 	  0    6 	 - 	 10s 	0 	  0    6   12s
    client2.example.net 			    8 	  0	   6 	 - 	 25s 	0 	  0    6   28s
    desktop-192-0-2-100.example.net 	3 	   	   6 	 - 	  9s 	0 	  0    6   11s

    The output fields include:

    • Hostname: The hostname or IP address of the client.
    • NTP: The number of NTP packets received from the client.
    • Drop: The number of packets dropped by chronyd, typically due to rate-limiting.
    • Int: The client’s polling interval in seconds (as a log base 2 value, e.g., 6 = $2^6$ = 64s).
    • IntL: The average inter-poll interval (in seconds) for the client when rate limiting is active. This field shows '-' if rate limiting is not currently active for the client.
    • Last: The elapsed time since the last NTP packet was received from this client. Use this value to determine which clients are synchronized or recently synchronized.
    • Cmd: The number of chronyc (monitoring) command packets received from the client.

      참고

      If you have a number of clients and the command is slow to return, it might be due to performing DNS lookups. Use the -n option to disable hostname resolution and display IP addresses instead:

      +

      # chronyc -n clients
      중요

      By default, chronyd monitors up to 4,096 clients. If you have more clients than this, you can increase the memory limit with clientloglimit in /etc/chrony.conf file. For example: clientloglimit 10000000

Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 문서 정보

Legal Notice

Theme

© 2026 Red Hat
맨 위로 이동