{
    "mode": "man",
    "parameter": "ntp-wait",
    "section": "8",
    "url": "https://www.chedong.com/phpMan.php/man/ntp-wait/8/json",
    "generated": "2026-05-30T07:09:11Z",
    "synopsis": "ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]\nAll arguments must be options.",
    "sections": {
        "NAME": {
            "content": "ntp-wait — Wait for ntpd to stabilize the system clock\n",
            "subsections": []
        },
        "SYNOPSIS": {
            "content": "ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]\n\nAll arguments must be options.\n",
            "subsections": []
        },
        "DESCRIPTION": {
            "content": "ntp-wait will send at most num-tries queries to ntpd(8), sleeping for secs-between-tries after\neach status return that says ntpd(8) has not yet produced a synchronized and stable system\nclock.\n\nntp-wait will do this quietly, unless the -v flag is provided.  This can be useful at boot\ntime, to delay the boot sequence until after ntpd -g has set the time.\n",
            "subsections": []
        },
        "OPTIONS": {
            "content": "",
            "subsections": [
                {
                    "name": "-n --tries",
                    "content": "Number of times to check ntpd.  This option takes an integer number as its argument.\nThe default number for this option is:\n100\n\nThe maximum number of times we will check ntpd to see if\nit has been able to synchronize and stabilize the system clock.\n",
                    "flag": "-n",
                    "long": "--tries"
                },
                {
                    "name": "-s --sleep",
                    "content": "How long to sleep between tries.  This option takes an integer number as its argument.\nThe default secs-between-tries for this option is:\n6\n\nWe will sleep for secs-between-tries after each query\nof ntpd that returns \"the time is not yet stable\".\n",
                    "flag": "-s",
                    "long": "--sleep"
                },
                {
                    "name": "-v --verbose",
                    "content": "Be verbose.\n\nBy default, ntp-wait is silent.\nWith this option, ntp-wait will provide status information.\n\n-?, --help\nDisplay usage information and exit.\n\n-!, --more-help\nPass the extended usage information through a pager.\n",
                    "flag": "-v",
                    "long": "--verbose"
                },
                {
                    "name": "-v --version",
                    "content": "Output version of program and exit.  The default mode is `v', a simple version.  The\n`c' mode will print copyright information and `n' will print the full copyright notice.\n",
                    "flag": "-v",
                    "long": "--version"
                }
            ]
        },
        "EXIT STATUS": {
            "content": "One of the following exit values will be returned:\n\n0  (EXITSUCCESS)\nSuccessful program execution.\n\n1  (EXITFAILURE)\nThe operation failed or the command syntax was not valid.\n\n70  (EXSOFTWARE)\nlibopts had an internal operational error.  Please report it to auto‐\ngen-users@lists.sourceforge.net.  Thank you.\n",
            "subsections": []
        },
        "AUTHORS": {
            "content": "Harlan Stenn\n",
            "subsections": []
        },
        "NOTES": {
            "content": "This document corresponds to version 4.2.8p15 of NTP.\n\nThis manual page was AutoGen-erated from the ntp-wait option definitions.\n\nBSD                              June 23 2020                              BSD",
            "subsections": []
        }
    },
    "summary": "ntp-wait — Wait for ntpd to stabilize the system clock",
    "flags": [
        {
            "flag": "-n",
            "long": "--tries",
            "arg": null,
            "description": "Number of times to check ntpd. This option takes an integer number as its argument. The default number for this option is: 100 The maximum number of times we will check ntpd to see if it has been able to synchronize and stabilize the system clock."
        },
        {
            "flag": "-s",
            "long": "--sleep",
            "arg": null,
            "description": "How long to sleep between tries. This option takes an integer number as its argument. The default secs-between-tries for this option is: 6 We will sleep for secs-between-tries after each query of ntpd that returns \"the time is not yet stable\"."
        },
        {
            "flag": "-v",
            "long": "--verbose",
            "arg": null,
            "description": "Be verbose. By default, ntp-wait is silent. With this option, ntp-wait will provide status information. -?, --help Display usage information and exit. -!, --more-help Pass the extended usage information through a pager."
        },
        {
            "flag": "-v",
            "long": "--version",
            "arg": null,
            "description": "Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright information and `n' will print the full copyright notice."
        }
    ],
    "examples": [],
    "see_also": []
}