18585484eSchristos/* -*- Mode: Text -*- */ 2b8ecfcfeSchristosAutoGen Definitions perlopt; 3b8ecfcfeSchristos 48585484eSchristos#include autogen-version.def 5b8ecfcfeSchristos 68585484eSchristosprog-name = 'plot_summary'; 78585484eSchristosprog-title = 'plot statistics generated by summary script'; 8b8ecfcfeSchristospackage = ntp; 9b8ecfcfeSchristos#include version.def 10b8ecfcfeSchristos 118585484eSchristoslong-opts; 128585484eSchristosgnu-usage; 138585484eSchristos 148585484eSchristosflag = { 158585484eSchristos name = directory; 168585484eSchristos arg-type = string; 178585484eSchristos arg-default = '/tmp'; 188585484eSchristos descrip = 'Where the summary files are'; 198585484eSchristos doc = <<- _EndOfDoc_ 208585484eSchristos The directory where the @code{plot_summary} will search for the 218585484eSchristos *_summary files generated by @code{summary} script. 228585484eSchristos _EndOfDoc_; 238585484eSchristos}; 248585484eSchristos 258585484eSchristosflag = { 268585484eSchristos name = identifier; 278585484eSchristos arg-type = string; 288585484eSchristos descrip = 'Origin of the data'; 298585484eSchristos doc = <<- _EndOfDoc_ 308585484eSchristos Where does the plotted data come from, default to string "host" plus 318585484eSchristos current hostname 328585484eSchristos _EndOfDoc_; 338585484eSchristos}; 348585484eSchristos 358585484eSchristosflag = { 368585484eSchristos name = offset-limit; 378585484eSchristos arg-type = string; 388585484eSchristos arg-name = float; 398585484eSchristos arg-default = "0.128"; 408585484eSchristos descrip = 'Limit of absolute offset'; 418585484eSchristos doc = <<- _EndOfDoc_ 428585484eSchristos _EndOfDoc_; 438585484eSchristos}; 448585484eSchristos 458585484eSchristosflag = { 468585484eSchristos name = peer; 478585484eSchristos arg-type = string; 488585484eSchristos stack-arg; 498585484eSchristos max = NOLIMIT; 508585484eSchristos descrip = 'Peers to generate plots for'; 518585484eSchristos doc = <<- _EndOfDoc_ 528585484eSchristos By default the peer_summary plots are not generated. Use this option to 538585484eSchristos specify list of peers if you want to generate plots for them. 548585484eSchristos _EndOfDoc_; 558585484eSchristos}; 568585484eSchristos 578585484eSchristosflag = { 588585484eSchristos name = plot-term; 598585484eSchristos arg-type = string; 608585484eSchristos descrip = 'Gnuplot terminal'; 618585484eSchristos doc = <<- _EndOfDoc_ 628585484eSchristos This is string is passed directly to the @code{gnuplot set terminal} 638585484eSchristos command. Default is @code{x11} if @code{DISPLAY} is set and 648585484eSchristos @code{dumb} is it's not'. See output from @code(gnuplot -e "set 65*42c29440Schristos terminal") for the list of available options. 668585484eSchristos _EndOfDoc_; 678585484eSchristos}; 688585484eSchristos 698585484eSchristosflag = { 708585484eSchristos name = output-file; 718585484eSchristos arg-type = str; 728585484eSchristos descrip = 'Output file'; 738585484eSchristos doc = <<- _EndOfDoc_ 748585484eSchristos Output file for @code{gnuplot}, default to stdout. 758585484eSchristos _EndOfDoc_; 768585484eSchristos}; 778585484eSchristos 788585484eSchristosflag = { 798585484eSchristos name = dont-wait; 808585484eSchristos descrip = "Don't wait for keystroke between plots"; 818585484eSchristos doc = <<- _EndOfDoc_ 828585484eSchristos _EndOfDoc_; 838585484eSchristos}; 84