1 QA output created by 728
3 End of option processing
4 Options structure dump:
26 == Arguments: usage (x2)
27 Warning: usage error detected
28 Usage: getoptions [options]
31 -A TIME, --align=TIME align sample times on natural boundaries
32 -a FILE, --archive=FILE
33 metrics source is a PCP log archive
34 -g, --guimode start in GUI mode with new time control
35 -h HOST, --host=HOST metrics source is PMCD on host
36 -n FILE, --namespace=FILE
37 use an alternative PMNS
38 -O TIME, --origin=TIME
39 initial sample time within the time window
40 -p N, --guiport=N port for connection to existing time control
41 -S TIME, --start=TIME start of the time window
42 -s N, --samples=N terminate after this many samples
43 -T TIME, --finish=TIME
44 end of the time window
45 -t DELTA, --interval=DELTA
47 -Z TZ, --timezone=TZ set reporting timezone
48 -z, --hostzone set reporting timezone to local time of metrics source
49 -V, --version display version number and exit
50 -?, --help show this usage message and exit
53 -K SPEC, --spec-local=SPEC
54 optional additional PMDA spec for local connection
55 -L, --local-PMDA metrics source is local connection to a PMDA
56 -H FILE, --hostsfile=FILE
57 read metric source hosts from a file
58 --host-list=HOSTS comma-separated list of metric source hosts
59 --archive-list=FILES comma-separated list of metric source archives
60 --archive-folio=FILE read metric source archives from a folio
63 -x, --extra an extra option, for testing
64 -X ARG, --eXtra=ARG an extra option with an argument
65 -y a short-option-only without argument
66 -Y N a short-option-only with an argument
67 --fubar a long-option-only without argument
68 --foobar=N a long-option-only with an argument
69 End of option processing
70 Options structure dump:
72 flags: 0xb (init,done,usage_err)
92 Warning: usage error detected
93 Usage: getoptions [options]
96 -A TIME, --align=TIME align sample times on natural boundaries
97 -a FILE, --archive=FILE
98 metrics source is a PCP log archive
99 -g, --guimode start in GUI mode with new time control
100 -h HOST, --host=HOST metrics source is PMCD on host
101 -n FILE, --namespace=FILE
102 use an alternative PMNS
103 -O TIME, --origin=TIME
104 initial sample time within the time window
105 -p N, --guiport=N port for connection to existing time control
106 -S TIME, --start=TIME start of the time window
107 -s N, --samples=N terminate after this many samples
108 -T TIME, --finish=TIME
109 end of the time window
110 -t DELTA, --interval=DELTA
112 -Z TZ, --timezone=TZ set reporting timezone
113 -z, --hostzone set reporting timezone to local time of metrics source
114 -V, --version display version number and exit
115 -?, --help show this usage message and exit
118 -K SPEC, --spec-local=SPEC
119 optional additional PMDA spec for local connection
120 -L, --local-PMDA metrics source is local connection to a PMDA
121 -H FILE, --hostsfile=FILE
122 read metric source hosts from a file
123 --host-list=HOSTS comma-separated list of metric source hosts
124 --archive-list=FILES comma-separated list of metric source archives
125 --archive-folio=FILE read metric source archives from a folio
128 -x, --extra an extra option, for testing
129 -X ARG, --eXtra=ARG an extra option with an argument
130 -y a short-option-only without argument
131 -Y N a short-option-only with an argument
132 --fubar a long-option-only without argument
133 --foobar=N a long-option-only with an argument
134 End of option processing
135 Options structure dump:
137 flags: 0xb (init,done,usage_err)
157 == Arguments: own options (x2)
158 Got option: x index=0 [errors=0]
159 -> x option has no argument
160 Got option: X index=0 [errors=0]
161 -> X option argument was: '(null)'
162 End of option processing
163 Options structure dump:
165 flags: 0x3 (init,done)
185 Got option: x index=25 [errors=0]
186 -> x option has no argument
187 Got option: X index=26 [errors=0]
188 -> X option argument was: 'goodness'
189 End of option processing
190 Options structure dump:
192 flags: 0x3 (init,done)
212 == Arguments: own short-only options
213 Got option: y index=0 [errors=0]
214 -> y option has no argument
215 Got option: Y index=0 [errors=0]
216 -> Y option argument was: '(null)'
217 End of option processing
218 Options structure dump:
220 flags: 0x3 (init,done)
240 == Arguments: own long-only options
241 Got option: - index=29 [errors=0]
242 -> long-only option index=29
243 Got option: - index=30 [errors=0]
244 -> long-only option index=30
245 End of option processing
246 Options structure dump:
248 flags: 0x3 (init,done)
268 == Arguments: one archive, all time options (x2)
269 End of option processing
270 Options structure dump:
272 flags: 0x3 (init,done)
274 context: 0x2 (archive)
277 archives: archives/20041125.0
282 align_optarg: 1 minute
284 finish_optarg: @10:30
285 origin_optarg: @10:10:10
293 End of option processing
294 Options structure dump:
296 flags: 0x3 (init,done)
298 context: 0x2 (archive)
301 archives: archives/20041125.0
306 align_optarg: 1 minute
308 finish_optarg: @10:30
309 origin_optarg: @10:10:10
317 == Arguments: one host (x2)
318 End of option processing
319 Options structure dump:
321 flags: 0x3 (init,done)
342 End of option processing
343 Options structure dump:
345 flags: 0x3 (init,done)
366 == Arguments: environment variables only
367 End of option processing
368 Options structure dump:
370 flags: 0x103 (init,done,env_only)
391 == Arguments: host, interval and samples env vars
392 End of option processing
393 Options structure dump:
395 flags: 0x3 (init,done)
416 == Arguments: host list env var
417 Warning: usage error detected
418 getoptions: too many hosts requested: foo.com,bar.org
419 Usage: getoptions [options]
422 -A TIME, --align=TIME align sample times on natural boundaries
423 -a FILE, --archive=FILE
424 metrics source is a PCP log archive
425 -g, --guimode start in GUI mode with new time control
426 -h HOST, --host=HOST metrics source is PMCD on host
427 -n FILE, --namespace=FILE
428 use an alternative PMNS
429 -O TIME, --origin=TIME
430 initial sample time within the time window
431 -p N, --guiport=N port for connection to existing time control
432 -S TIME, --start=TIME start of the time window
433 -s N, --samples=N terminate after this many samples
434 -T TIME, --finish=TIME
435 end of the time window
436 -t DELTA, --interval=DELTA
438 -Z TZ, --timezone=TZ set reporting timezone
439 -z, --hostzone set reporting timezone to local time of metrics source
440 -V, --version display version number and exit
441 -?, --help show this usage message and exit
444 -K SPEC, --spec-local=SPEC
445 optional additional PMDA spec for local connection
446 -L, --local-PMDA metrics source is local connection to a PMDA
447 -H FILE, --hostsfile=FILE
448 read metric source hosts from a file
449 --host-list=HOSTS comma-separated list of metric source hosts
450 --archive-list=FILES comma-separated list of metric source archives
451 --archive-folio=FILE read metric source archives from a folio
454 -x, --extra an extra option, for testing
455 -X ARG, --eXtra=ARG an extra option with an argument
456 -y a short-option-only without argument
457 -Y N a short-option-only with an argument
458 --fubar a long-option-only without argument
459 --foobar=N a long-option-only with an argument
460 End of option processing
461 Options structure dump:
463 flags: 0xb (init,done,usage_err)
467 hosts: foo.com,bar.org
484 == Arguments: archive, time window env vars
485 End of option processing
486 Options structure dump:
488 flags: 0x3 (init,done)
490 context: 0x2 (archive)
493 archives: archives/20041125.0
500 finish_optarg: @10:30
501 origin_optarg: @10:10:10
509 == Arguments: archive list env var
510 Warning: usage error detected
511 getoptions: too many archives requested: foo,bar,moo
512 Usage: getoptions [options]
515 -A TIME, --align=TIME align sample times on natural boundaries
516 -a FILE, --archive=FILE
517 metrics source is a PCP log archive
518 -g, --guimode start in GUI mode with new time control
519 -h HOST, --host=HOST metrics source is PMCD on host
520 -n FILE, --namespace=FILE
521 use an alternative PMNS
522 -O TIME, --origin=TIME
523 initial sample time within the time window
524 -p N, --guiport=N port for connection to existing time control
525 -S TIME, --start=TIME start of the time window
526 -s N, --samples=N terminate after this many samples
527 -T TIME, --finish=TIME
528 end of the time window
529 -t DELTA, --interval=DELTA
531 -Z TZ, --timezone=TZ set reporting timezone
532 -z, --hostzone set reporting timezone to local time of metrics source
533 -V, --version display version number and exit
534 -?, --help show this usage message and exit
537 -K SPEC, --spec-local=SPEC
538 optional additional PMDA spec for local connection
539 -L, --local-PMDA metrics source is local connection to a PMDA
540 -H FILE, --hostsfile=FILE
541 read metric source hosts from a file
542 --host-list=HOSTS comma-separated list of metric source hosts
543 --archive-list=FILES comma-separated list of metric source archives
544 --archive-folio=FILE read metric source archives from a folio
547 -x, --extra an extra option, for testing
548 -X ARG, --eXtra=ARG an extra option with an argument
549 -y a short-option-only without argument
550 -Y N a short-option-only with an argument
551 --fubar a long-option-only without argument
552 --foobar=N a long-option-only with an argument
553 End of option processing
554 Options structure dump:
556 flags: 0xb (init,done,usage_err)
558 context: 0x2 (archive)
561 archives: foo,bar,moo
577 == Arguments: one archive env var
578 End of option processing
579 Options structure dump:
581 flags: 0x3 (init,done)
583 context: 0x2 (archive)
602 == Arguments: timezone env var
603 End of option processing
604 Options structure dump:
606 flags: 0x3 (init,done)
626 == Arguments: hostzone env var
627 Warning: usage error detected
628 getoptions: use of timezone from metric source requires a source
629 Usage: getoptions [options]
632 -A TIME, --align=TIME align sample times on natural boundaries
633 -a FILE, --archive=FILE
634 metrics source is a PCP log archive
635 -g, --guimode start in GUI mode with new time control
636 -h HOST, --host=HOST metrics source is PMCD on host
637 -n FILE, --namespace=FILE
638 use an alternative PMNS
639 -O TIME, --origin=TIME
640 initial sample time within the time window
641 -p N, --guiport=N port for connection to existing time control
642 -S TIME, --start=TIME start of the time window
643 -s N, --samples=N terminate after this many samples
644 -T TIME, --finish=TIME
645 end of the time window
646 -t DELTA, --interval=DELTA
648 -Z TZ, --timezone=TZ set reporting timezone
649 -z, --hostzone set reporting timezone to local time of metrics source
650 -V, --version display version number and exit
651 -?, --help show this usage message and exit
654 -K SPEC, --spec-local=SPEC
655 optional additional PMDA spec for local connection
656 -L, --local-PMDA metrics source is local connection to a PMDA
657 -H FILE, --hostsfile=FILE
658 read metric source hosts from a file
659 --host-list=HOSTS comma-separated list of metric source hosts
660 --archive-list=FILES comma-separated list of metric source archives
661 --archive-folio=FILE read metric source archives from a folio
664 -x, --extra an extra option, for testing
665 -X ARG, --eXtra=ARG an extra option with an argument
666 -y a short-option-only without argument
667 -Y N a short-option-only with an argument
668 --fubar a long-option-only without argument
669 --foobar=N a long-option-only with an argument
670 End of option processing
671 Options structure dump:
673 flags: 0xb (init,done,usage_err)
693 == Arguments: gui port env var (x2)
694 End of option processing
695 Options structure dump:
697 flags: 0x3 (init,done)
717 End of option processing
718 Options structure dump:
720 flags: 0x3 (init,done)
733 guiport_optarg: /tmp/socket
740 == Arguments: gui mode env var
741 End of option processing
742 Options structure dump:
744 flags: 0x3 (init,done)
764 == Arguments: allow mixed hosts and archives
765 End of option processing
766 Options structure dump:
768 flags: 0x83 (init,done,mixed)
790 == Arguments: hosts file
791 End of option processing
792 Options structure dump:
794 flags: 0x7 (init,done,multi)
798 hosts: foo.bar.com,acme.com