• 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. Using iostat to monitor system performance in Linux (Examples included)
  2. What’s the difference between locate and find command in Linux
  3. mate-screenshot: command not found
  4. “error: Bind to port 2222 on 0.0.0.0 failed: Permission denied” – error while starting sshd service on CentOS/RHEL
  5. CentOS / RHEL : How to set chroot jail for vsftp only for specific users
  6. pvchange Command Examples in Linux
  7. How to move /var on a separate disk as a separate mount point (Online)
  8. OpenLDAP Server and Client Utilities list
  9. How to Install Gnome Desktop Environment onto Oracle Linux 6.x
  10. make: command not found

You May Also Like

Primary Sidebar

Recent Posts

  • nixos-rebuild Command Examples in Linux
  • nixos-option: Command Examples in Linux
  • nixos-container : Command Examples in Linux
  • nitrogen Command Examples in Linux

© 2023 · The Geek Diary

  • Archives
  • Contact Us
  • Copyright