{
    "content": [
        {
            "type": "text",
            "text": "# ntp-wait(8) (man)\n\n**Summary:** ntp-wait — Wait for ntpd to stabilize the system clock\n\n**Synopsis:** ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]\nAll arguments must be options.\n\n## Flags\n\n| Flag | Long | Arg | Description |\n|------|------|-----|-------------|\n| -n | --tries | — | Number of times to check ntpd. This option takes an integer number as its argument. The default number for this option i |\n| -s | --sleep | — | How long to sleep between tries. This option takes an integer number as its argument. The default secs-between-tries for |\n| -v | --verbose | — | Be verbose. By default, ntp-wait is silent. With this option, ntp-wait will provide status information. -?, --help Displ |\n| -v | --version | — | Output version of program and exit. The default mode is `v', a simple version. The `c' mode will print copyright informa |\n\n## Section Outline\n\n- **NAME** (2 lines)\n- **SYNOPSIS** (4 lines)\n- **DESCRIPTION** (7 lines)\n- **OPTIONS** (1 lines) — 4 subsections\n  - -n --tries (7 lines)\n  - -s --sleep (7 lines)\n  - -v --verbose (11 lines)\n  - -v --version (3 lines)\n- **EXIT STATUS** (12 lines)\n- **AUTHORS** (2 lines)\n- **NOTES** (5 lines)\n\n## Full Content\n\n### NAME\n\nntp-wait — Wait for ntpd to stabilize the system clock\n\n### SYNOPSIS\n\nntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]\n\nAll arguments must be options.\n\n### DESCRIPTION\n\nntp-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\n### OPTIONS\n\n#### -n --tries\n\nNumber 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\n#### -s --sleep\n\nHow 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\n#### -v --verbose\n\nBe 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\n#### -v --version\n\nOutput 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\n### EXIT STATUS\n\nOne 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\n### AUTHORS\n\nHarlan Stenn\n\n### NOTES\n\nThis 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\n\n"
        }
    ],
    "structuredContent": {
        "command": "ntp-wait",
        "section": "8",
        "mode": "man",
        "summary": "ntp-wait — Wait for ntpd to stabilize the system clock",
        "synopsis": "ntp-wait [-flags] [-flag [value]] [--option-name[[=| ]value]]\nAll arguments must be options.",
        "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": [],
        "section_outline": [
            {
                "name": "NAME",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "SYNOPSIS",
                "lines": 4,
                "subsections": []
            },
            {
                "name": "DESCRIPTION",
                "lines": 7,
                "subsections": []
            },
            {
                "name": "OPTIONS",
                "lines": 1,
                "subsections": [
                    {
                        "name": "-n --tries",
                        "lines": 7,
                        "flag": "-n",
                        "long": "--tries"
                    },
                    {
                        "name": "-s --sleep",
                        "lines": 7,
                        "flag": "-s",
                        "long": "--sleep"
                    },
                    {
                        "name": "-v --verbose",
                        "lines": 11,
                        "flag": "-v",
                        "long": "--verbose"
                    },
                    {
                        "name": "-v --version",
                        "lines": 3,
                        "flag": "-v",
                        "long": "--version"
                    }
                ]
            },
            {
                "name": "EXIT STATUS",
                "lines": 12,
                "subsections": []
            },
            {
                "name": "AUTHORS",
                "lines": 2,
                "subsections": []
            },
            {
                "name": "NOTES",
                "lines": 5,
                "subsections": []
            }
        ]
    }
}