| To: | Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, Nathan Scott <nathans@xxxxxxxxxx> |
|---|---|
| Subject: | Re: [pcp] pmval -i vs pmstore -i |
| From: | Marko Myllynen <myllynen@xxxxxxxxxx> |
| Date: | Mon, 30 May 2016 20:52:40 +0300 |
| Cc: | pcp developers <pcp@xxxxxxxxxxx> |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <5731AC74.4040002@xxxxxxxxxx> |
| Organization: | Red Hat |
| References: | <573076AF.8000009@xxxxxxxxxx> <2067663739.46369124.1462835555164.JavaMail.zimbra@xxxxxxxxxx> <57312DBB.3030308@xxxxxxxxxxxxxxxx> <5731AC74.4040002@xxxxxxxxxx> |
| Reply-to: | Marko Myllynen <myllynen@xxxxxxxxxx> |
| User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0 |
Hi, On 2016-05-10 12:40, Marko Myllynen wrote: > 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: In case this was left open, here's the link to the commit: http://oss.sgi.com/cgi-bin/gitweb.cgi?p=pcp/pcp.git;a=commit;h=d74ef3fd6928431c5a594dcfbcf86b9abfd88c8b Thanks, -- Marko Myllynen |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: [pcp] [Patch]Add the metric from system call semctl/msgctl/shmctl, Nathan Scott |
|---|---|
| Next by Date: | pmlogger: fetch.c: changed & PMCD_ADD_AGENT:, Dave Brolley |
| Previous by Thread: | Re: [pcp] pmval -i vs pmstore -i, Marko Myllynen |
| Next by Thread: | [Bug 1334324] New: pmprobe -Z/-z confusion, bugzilla |
| Indexes: | [Date] [Thread] [Top] [All Lists] |