1*2b15cb3dSCy Schubert/* -*- Mode: Text -*- */ 2*2b15cb3dSCy Schubertautogen definitions perlopt; 3*2b15cb3dSCy Schubert 4*2b15cb3dSCy Schubert#include autogen-version.def 5*2b15cb3dSCy Schubert 6*2b15cb3dSCy Schubertprog-name = 'ntpsweep'; 7*2b15cb3dSCy Schubertprog-title = 'Print various informations about given ntp servers'; 8*2b15cb3dSCy Schubertpackage = ntp; 9*2b15cb3dSCy Schubert#include version.def 10*2b15cb3dSCy Schubert 11*2b15cb3dSCy Schubertargument = '[hostfile]'; 12*2b15cb3dSCy Schubertlong-opts; 13*2b15cb3dSCy Schubertgnu-usage; 14*2b15cb3dSCy Schubert 15*2b15cb3dSCy Schubertflag = { 16*2b15cb3dSCy Schubert name = host-list; 17*2b15cb3dSCy Schubert value = l; 18*2b15cb3dSCy Schubert arg-type = string; 19*2b15cb3dSCy Schubert max = NOLIMIT; 20*2b15cb3dSCy Schubert stack-arg; 21*2b15cb3dSCy Schubert descrip = 'Host to execute actions on'; 22*2b15cb3dSCy Schubert doc = <<- _EndOfDoc_ 23*2b15cb3dSCy Schubert Use this option to specify the host on which this script operates. 24*2b15cb3dSCy Schubert May appear multiple times. 25*2b15cb3dSCy Schubert _EndOfDoc_; 26*2b15cb3dSCy Schubert}; 27*2b15cb3dSCy Schubert 28*2b15cb3dSCy Schubertflag = { 29*2b15cb3dSCy Schubert name = peers; 30*2b15cb3dSCy Schubert value = p; 31*2b15cb3dSCy Schubert descrip = 'Recursively list all peers a host synchronizes to'; 32*2b15cb3dSCy Schubert}; 33*2b15cb3dSCy Schubert 34*2b15cb3dSCy Schubertflag = { 35*2b15cb3dSCy Schubert name = maxlevel; 36*2b15cb3dSCy Schubert value = m; 37*2b15cb3dSCy Schubert arg-type = number; 38*2b15cb3dSCy Schubert descrip = 'Traverse peers up to this level (4 is a reasonable number)'; 39*2b15cb3dSCy Schubert}; 40*2b15cb3dSCy Schubert 41*2b15cb3dSCy Schubertflag = { 42*2b15cb3dSCy Schubert name = strip; 43*2b15cb3dSCy Schubert value = s; 44*2b15cb3dSCy Schubert arg-type = string; 45*2b15cb3dSCy Schubert descrip = 'Strip this string from hostnames'; 46*2b15cb3dSCy Schubert}; 47*2b15cb3dSCy Schubert 48*2b15cb3dSCy Schubert/* Deprecated options */ 49*2b15cb3dSCy Schubertflag = { 50*2b15cb3dSCy Schubert name = host; 51*2b15cb3dSCy Schubert value = h; 52*2b15cb3dSCy Schubert arg-type = string; 53*2b15cb3dSCy Schubert descrip = 'Specify a single host'; 54*2b15cb3dSCy Schubert deprecated; 55*2b15cb3dSCy Schubert}; 56*2b15cb3dSCy Schubert 57*2b15cb3dSCy Schubertdoc-section = { 58*2b15cb3dSCy Schubert ds-type = 'DESCRIPTION'; 59*2b15cb3dSCy Schubert ds-format = 'mdoc'; 60*2b15cb3dSCy Schubert ds-text = <<- _END_PROG_MDOC_DESCRIP 61*2b15cb3dSCy Schubert.Nm 62*2b15cb3dSCy Schubertprints per host the NTP stratum level, the clock offset in seconds, the daemon 63*2b15cb3dSCy Schubertversion, the operating system and the processor. Optionally recursing through 64*2b15cb3dSCy Schubertall peers. 65*2b15cb3dSCy Schubert _END_PROG_MDOC_DESCRIP; 66*2b15cb3dSCy Schubert}; 67