| To: | myllynen@xxxxxxxxxx |
|---|---|
| Subject: | pmtime clients (was Re: [pcp] Simple fix needed, not docs? (was Re: RFC2: fetchgroup api)) |
| From: | Nathan Scott <nathans@xxxxxxxxxx> |
| Date: | Mon, 7 Dec 2015 15:49:19 -0500 (EST) |
| Cc: | pcp@xxxxxxxxxxx |
| Delivered-to: | pcp@xxxxxxxxxxx |
| In-reply-to: | <56652F54.7070004@xxxxxxxxxx> |
| References: | <20151201145903.GB31003@xxxxxxxxxx> <1224565686.32458903.1449038493129.JavaMail.zimbra@xxxxxxxxxx> <20151203001437.GA2531@xxxxxxxxxx> <37369073.33594680.1449118672756.JavaMail.zimbra@xxxxxxxxxx> <20151203141450.GB2531@xxxxxxxxxx> <447344479.34949675.1449195913043.JavaMail.zimbra@xxxxxxxxxx> <56652F54.7070004@xxxxxxxxxx> |
| Reply-to: | Nathan Scott <nathans@xxxxxxxxxx> |
| Thread-index: | QcbyoG+S5AdhHZUzythLMM833ReM0Q== |
| Thread-topic: | pmtime clients (was Re: [pcp] Simple fix needed, not docs? (was Re: RFC2: fetchgroup api)) |
Hi Marko, ----- Original Message ----- > [...] > how is this -g switch supposed to work by the way? I tested the fixed > pmstat -g and also pmval -g and pmdumptext -g. pmstat -g / pmval -g give > me a pop-up window complaining "pmtime: invalid option -- 'h'", You'll need a pmtime(1) binary built from git master installed. > pmdumptext -g seems to be a no-op? -p works as expected with > pmstat/pmval but does nothing with pmdumptext. OK, I'll check out pmdumptext today, but possibly similar root cause. > I was mainly checking whether this would be something to consider in the > context of pmrep but honestly I don't see this functionality very > useful. Also not sure how much client side coding that would be needed, > enabling -g/-p via Python PMAPI didn't seem to be enough. You need a bit of client side logic, yep - a callback function or two and usually special-case handling for gui-mode inside the fetch loop. See pmval code around opts.guiflag and the pmTimeControls data structure. I've found it to be handy in the past for scanning around quickly in large archives using pmval - so, yep, could make sense for pmrep. cheers. -- Nathan |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | [Bug 1130] New: pmsnap / pmlc flush / pmcd.pmlogger.* auto-logging, bugzilla-daemon |
|---|---|
| Next by Date: | pcp updates: derived metrics, dynamic metrics, derived metrics in archives, Ken McDonell |
| Previous by Thread: | Re: [pcp] Simple fix needed, not docs? (was Re: RFC2: fetchgroup api), Marko Myllynen |
| Next by Thread: | Re: pmtime clients (was Re: [pcp] Simple fix needed, not docs? (was Re: RFC2: fetchgroup api)), Marko Myllynen |
| Indexes: | [Date] [Thread] [Top] [All Lists] |