[pcp] pmval -i vs pmstore -i
Marko Myllynen
myllynen at redhat.com
Tue May 10 04:40:04 CDT 2016
Hi,
On 2016-05-10 03:39, Ken McDonell wrote:
> On 10/05/16 09:12, Nathan Scott wrote:
>> ----- Original Message -----
>>>
>>> pmval and pmstore are the two clients which allow specifying the
>>> targeted instances with -i. pmval, like most other clients also accept
>>> arguments in this manner:
>>>
>>> $ pmval kernel.all-load -i "'1 minute'"
>
> I believe this to be the side-effect of GNU getopt(3) ... I personally
> think this "flexibility" is sloppy, ill-conceived and not necessary.
>
> I would much prefer to concentrate on the form ...
>
> $ pmval -i "'1 minute'" kernel.all-load
>
> which matches the original design and implementation (of Unix, not just
> PCP).
The PCP zsh completions I just posted shows to the reason why the
admittedly sloppy way is sometimes useful:
http://oss.sgi.com/pipermail/pcp/2016-May/010476.html
(See the instances section there.)
Thanks,
--
Marko Myllynen
More information about the pcp
mailing list