| To: | chandana@xxxxxxxxxxxxx |
|---|---|
| Subject: | Re: [pcp] Querying a single instance of metric |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Wed, 28 Mar 2012 10:07:47 +1100 (EST) |
| Cc: | pcp@xxxxxxxxxxx |
| In-reply-to: | <4F723B28.9040005@xxxxxxxxxxxxx> |
Hello All <chandana> pminfo -f kernel.percpu.cpu.user[0] <nathans> chandana, that syntax is incorrect (pminfo doesnt support metric names like that) <chandana> same problem with pmdumptext <nathans> chandana, the shell may be expanding those braces too <nathans> chandana, try: pmdumptext kernel.percpu.cpu.user[cpu0] <chandana> yes, that works, thanks It's sufficiently confusing that it might be worth tackling (i.e. making pminfo use pmParseMetricSpec and set a profile if a single instance is requested) ... but, I have some vague memory of some people not wanting that (extra complexity in pminfo? not sure - it does have to handle the case of the request not being a leaf node). I can't remember the details though, maybe Mark or Ken can. I would vote for doin' it FWIW, unless theres a compelling case - it comes up often enough, and its a bit confusing. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Querying a single instance of metric, Chandana De Silva |
|---|---|
| Next by Date: | pcp updates, Nathan Scott |
| Previous by Thread: | Querying a single instance of metric, Chandana De Silva |
| Next by Thread: | Re: [pcp] Querying a single instance of metric, Ken McDonell |
| Indexes: | [Date] [Thread] [Top] [All Lists] |