ntpsweep User’s Manual

Previous: , Up: (dir)  

Top

This document describes the use of the NTP Project’s ntpsweep program.

This document applies to version 4.2.8p10 of ntpsweep.

Short Table of Contents

  • 1 Invoking ntpsweep

  • Up: Top  

    1 Invoking ntpsweep

    ntpsweep prints per host the NTP stratum level, the clock offset in seconds, the daemon version, the operating system and the processor. Optionally recursing through all peers.

    This section was generated by AutoGen, using the agtexi-cmd template and the option descriptions for the ntpsweep program.


    Next: , Up: ntpsweep Invocation  

    1.1 ntpsweep help/usage (--help)

    This is the automatically generated usage text for ntpsweep.

    The text printed is the same whether selected with the help option (--help) or the more-help option (--more-help). more-help will print the usage text by passing it through a pager program. more-help is disabled on platforms without a working fork(2) function. The PAGER environment variable is used to select the program, defaulting to more. Both will exit with a status code of 0.

    Undefined subroutine &ntpsweep::processOptions called at ./ntpsweep line 35.
    

    Next: , Previous: , Up: ntpsweep Invocation  

    1.2 host-list option (-l)

    This is the “host to execute actions on” option. This option takes a string argument.

    This option has some usage constraints. It:

    Use this option to specify the host on which this script operates. May appear multiple times.


    Next: , Previous: , Up: ntpsweep Invocation  

    1.3 peers option (-p)

    This is the “recursively list all peers a host synchronizes to” option. This option has no ‘doc’ documentation.


    Next: , Previous: , Up: ntpsweep Invocation  

    1.4 maxlevel option (-m)

    This is the “traverse peers up to this level (4 is a reasonable number)” option. This option takes a number argument. This option has no ‘doc’ documentation.


    Next: , Previous: , Up: ntpsweep Invocation  

    1.5 strip option (-s)

    This is the “strip this string from hostnames” option. This option takes a string argument. This option has no ‘doc’ documentation.


    Next: , Previous: , Up: ntpsweep Invocation  

    1.6 host option (-h)

    This is the “specify a single host” option. This option takes a string argument. This option has no ‘doc’ documentation.

    NOTE: THIS OPTION IS DEPRECATED


    Previous: , Up: ntpsweep Invocation  

    1.7 ntpsweep exit status

    One of the following exit values will be returned:

    0 (EXIT_SUCCESS)

    Successful program execution.

    1 (EXIT_FAILURE)

    The operation failed or the command syntax was not valid.