• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
  • Skip to footer navigation

The Geek Diary

  • OS
    • Linux
    • CentOS/RHEL
    • Solaris
    • Oracle Linux
    • VCS
  • Interview Questions
  • Database
    • oracle
    • oracle 12c
    • ASM
    • mysql
    • MariaDB
  • DevOps
    • Docker
    • Shell Scripting
  • Big Data
    • Hadoop
    • Cloudera
    • Hortonworks HDP

chronyc Command Examples in Linux

by Deepika

The chronyc command is a command-line utility for managing and monitoring the chrony daemon, which is a daemon that provides network time synchronization on Linux systems. The chrony daemon is used to keep the system clock synchronized with a network time server, which helps to ensure that the system clock is accurate.

To use the chronyc command, you will need to have the Chrony daemon running on your system. You can start the daemon by running the systemctl start chronyd command.

To display the status of the chrony daemon, use the tracking subcommand:

# chronyc tracking

This will display information about the current time, the offset from the reference time source, and the frequency of the local clock.

Below are some more examples of using the chronyc command.

chronyc Command Examples

1.Start chronyc in interactive mode:

# chronyc

2.Display tracking stats for the Chrony daemon:

# chronyc tracking

3.Print the time sources that Chrony is currently using:

# chronyc sources

4.Display stats for sources currently used by chrony daemon as a time source:

# chronyc sourcestats

5.Step the system clock immediately, bypassing any slewing:

# chronyc makestep

6.Display verbose information about each NTP source:

# chronyc ntpdata

Filed Under: Linux

Some more articles you might also be interested in …

  1. How To Create a Partition Using “parted” Command
  2. brctl: command not found
  3. collectd Command Examples
  4. aplay Command Examples in Linux
  5. traceroute: command not found
  6. virt-manager Command Examples in Linux
  7. Apache Ant – Tool for building and managing Java-based projects.
  8. unlink: command not found
  9. CentOS / RHEL 5 : dm-multipath file /etc/sysconfig/mkinitrd/multipath explained
  10. ledctl: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • cf: Command-line tool to manage apps and services on Cloud Foundry
  • certutil: Manage keys and certificates in both NSS databases and other NSS tokens
  • cdk: A CLI for AWS Cloud Development Kit (CDK)
  • cd: Change the current working directory

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright