This service will be undergoing maintenance at 00:00 UTC, 2017-10-23 It is expected to last about 30 minutes
Bug 1327260 - pmie does not accept s for seconds
pmie does not accept s for seconds
Status: CLOSED NOTABUG
Product: Fedora
Classification: Fedora
Component: pcp (Show other bugs)
23
Unspecified Unspecified
unspecified Severity unspecified
: ---
: ---
Assigned To: Nathan Scott
Fedora Extras Quality Assurance
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2016-04-14 11:30 EDT by Marko Myllynen
Modified: 2016-08-17 02:36 EDT (History)
8 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2016-08-17 02:36:00 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Marko Myllynen 2016-04-14 11:30:48 EDT
Description of problem:
Unlike pretty much every other PCP client / component, pmie(1) does not seem to accept "s" denoting seconds. This is obviously not critical but would be nice for consistency.
Comment 1 Ken McDonell 2016-08-16 20:20:26 EDT
Marko, in which context are you looking for "s" as an abbreviation?

It works on the command line (-t, -S, -T, -O, etc) just like any other PCP command line tool.

In the pmie language, the "units" are reserved keywords "sec" or "second" or "secs" or "seconds" ... I'm reluctant to add "s" to this list because of possible symbol clashes, e.g. an existing rule

s = <my_favourite_expression>;

would break (that's just the way the pmie lexical scanner works) and if I was persuaded that this was acceptable (which I'm not) it introduces a rat's nest of follow-ons, like "m" for "min", "h" for "hour", ...

I'm inclined to suggest this be issue be closed as WONTFIX.
Comment 2 Marko Myllynen 2016-08-17 02:36:00 EDT
(In reply to Ken McDonell from comment #1)
> Marko, in which context are you looking for "s" as an abbreviation?

In the pmie language. But ...

> It works on the command line (-t, -S, -T, -O, etc) just like any other PCP
> command line tool.
> 
> In the pmie language, the "units" are reserved keywords "sec" or "second" or
> "secs" or "seconds" ... I'm reluctant to add "s" to this list because of
> possible symbol clashes, e.g. an existing rule
> 
> s = <my_favourite_expression>;
> 
> would break (that's just the way the pmie lexical scanner works) and if I
> was persuaded that this was acceptable (which I'm not) it introduces a rat's
> nest of follow-ons, like "m" for "min", "h" for "hour", ...

... this is fair enough, I'll close this one.

Thanks.

Note You need to log in before you can comment on or make changes to this bug.