pcp
[Top] [All Lists]

[Bug 1352461] New: PCP options -s and -T are mutually exclusive

To: pcp@xxxxxxxxxxx
Subject: [Bug 1352461] New: PCP options -s and -T are mutually exclusive
From: bugzilla@xxxxxxxxxx
Date: Mon, 04 Jul 2016 08:26:58 +0000
Auto-submitted: auto-generated
Delivered-to: pcp@xxxxxxxxxxx
https://bugzilla.redhat.com/show_bug.cgi?id=1352461

            Bug ID: 1352461
           Summary: PCP options -s and -T are mutually exclusive
           Product: Fedora
           Version: 24
         Component: pcp
          Assignee: nathans@xxxxxxxxxx
          Reporter: myllynen@xxxxxxxxxx
        QA Contact: extras-qa@xxxxxxxxxxxxxxxxx
                CC: brolley@xxxxxxxxxx, fche@xxxxxxxxxx, lberk@xxxxxxxxxx,
                    mgoodwin@xxxxxxxxxx, nathans@xxxxxxxxxx,
                    pcp@xxxxxxxxxxx, scox@xxxxxxxxxx



Description of problem:
$ pmrep -s 3 -T 1m -x -p -C mem.util.used
pmrep: at most one of -T and -s allowed
[...]

The same happens with other tools as well since this is coming from libpcp.
PCPIntro(1) does not describe this restriction and in fact some clients (like
pmrep(1)) would calculate the interval if -s and -T would be accepted together:

       -T   When  reporting archived metrics, the report will be restricted to
            those records logged before or at endtime.  Refer  to  PCPIntro(1)
            for a complete description of the syntax for endtime.

            When used to define the runtime before pmrep will exit, if no samâ
            ples is given (see -s) then the number of reported samples depends
            on  interval  (see -t).  If samples is given then interval will be
            adjusted to allow reporting of samples during  runtime.   In  case
            all  of  -T,  -s,  and -t are given, endtime determines the actual
            time pmrep will run.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
Unsubscribe from this bug 
https://bugzilla.redhat.com/token.cgi?t=D0u5uOZaFg&a=cc_unsubscribe
<Prev in Thread] Current Thread [Next in Thread>
  • [Bug 1352461] New: PCP options -s and -T are mutually exclusive, bugzilla <=