Forrest logo
back to the ntpq tool

ntpq:tldr:627bb

ntpq: Use `ntpq` in debugging mode.
$ ntpq --debug-level
try on your machine

The "ntpq --debug-level" command is used to specify the debugging level for the ntpq utility.

The "ntpq" utility is a command-line tool that is part of the Network Time Protocol (NTP) package. It is used to query and control NTP servers.

The "--debug-level" option allows you to set the level of debugging information that will be displayed by the ntpq utility. The possible values for this option are:

  1. "none": This is the default value, and it means no debugging information will be displayed.

  2. "informative": It displays basic information about the operations being performed by the ntpq utility.

  3. "more": It provides more detailed debugging information, which can be useful for troubleshooting purposes.

  4. "all": This displays all available debugging information, including verbose output and internal NTP protocol details. It is the highest level of debugging and can generate a lot of output.

By specifying a particular debugging level with the "--debug-level" option, you can control the amount of information displayed by the ntpq utility based on your needs.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the ntpq tool