Changes committed to git://git.pcp.io/pcp.git master
Nathan Scott (6):
build: improve command-check error reporting in configure.ac
build: stitch zsh command completions into the build
build: switch to modern install locations for bash completions
pmcd: make probe-style connection error a debug diagnostic
bash: update naming, no-longer-value email address for Roman
qa: add numa meminfo sysfs file into injected mem metric test data
Dave Brolley (2):
Respect the pmcd connect timeout for clients as configured.
Fix qa fallout from the previous pmcd connect timeout change.
Hemant Kumar (1):
qa: add multi-node sysfs/procfs memory test data for injection
Marko Myllynen (1):
zsh: pcp command auto-completions for the zsh(1) shell
build/rpm/fedora.spec | 1
build/rpm/pcp.spec.in | 1
configure | 524 +++++++------
configure.ac | 97 +-
qa/067 | 5
qa/193 | 5
qa/243 | 5
qa/244 | 5
qa/255 | 2
qa/294 | 7
qa/294.out.darwin | 48 -
qa/294.out.default | 48 -
qa/295 | 9
qa/295.out | 18
qa/295.out.2 | 18
qa/367 | 2
qa/367.out.be | 71 -
qa/367.out.le | 71 -
qa/578 | 6
qa/578.out | 6
qa/821.out | 1636 +++++++++++++++++++++++++++++++++++++++++-
qa/826 | 2
qa/common.secure | 6
qa/linux/meminfo-root-001.tgz |binary
qa/linux/meminfo-root-002.tgz |binary
src/GNUmakefile | 3
src/bashrc/GNUmakefile | 3
src/bashrc/pcp_completion.sh | 8
src/libpcp/src/auxconnect.c | 101 +-
src/pmcd/src/pmcd.c | 13
src/zshrc/GNUmakefile | 31
src/zshrc/_pcp | 597 +++++++++++++++
32 files changed, 2745 insertions(+), 604 deletions(-)
commit a51d3b8baecb6076a0b9814a546d0735993871ed
Author: Hemant Kumar <hemant@xxxxxxxxxxxxxxxxxx>
Date: Fri May 13 12:32:08 2016 +1000
qa: add multi-node sysfs/procfs memory test data for injection
Expected output from test 821 updated accordingly.
commit acf216db1798075443000ddb02e5031dd235ddca
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri May 13 12:13:57 2016 +1000
qa: add numa meminfo sysfs file into injected mem metric test data
commit a52a8bfb500f2c6204372a282d1821f62bc6c165
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri May 13 10:51:26 2016 +1000
bash: update naming, no-longer-value email address for Roman
commit c25c6b9ce67a5a612c5c67559d76993e22e74077
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri May 13 10:27:26 2016 +1000
pmcd: make probe-style connection error a debug diagnostic
commit 60cc5564cdec9179017d98141fe2d9731be83236
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri May 13 09:52:09 2016 +1000
build: switch to modern install locations for bash completions
commit fedb51f2332819091ef1b7ac4d4963a72dd68981
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri May 13 09:51:18 2016 +1000
build: stitch zsh command completions into the build
commit d74ef3fd6928431c5a594dcfbcf86b9abfd88c8b
Author: Marko Myllynen <myllynen@xxxxxxxxxx>
Date: Fri May 13 09:49:32 2016 +1000
zsh: pcp command auto-completions for the zsh(1) shell
zsh(1) completions for PCP which cover most used command line clients.
Having used these myself for a week or so I see that my usage patterns
are changing. For instance, if I'm about to investigate process related
metrics from an archive, I don't anymore use one utility first to check
what's available and then pmrep or such to display the values. Rather, I
let zsh to do the work for me: pmrep -a test-archive proc<TAB> shows the
proc metrics available in that particular archive and offers completions
only for them, I can then instantly proceed on investigating the values
I'm interested in, no need to guess what's in it or to use several steps
for one task any more.
Features/completions which are typical for any zsh completions are
naturally supported where applicable (so while these might sound
advanced for some people, these are business as usual for zsh users):
* paths
* users
* hosts
* pids
* timezones
* file descriptors
* selective completion for options
- e.g. don't offer anything after --help as it would be pointless
These completions are PCP specific:
* support for relevant metrics
- pminfo <tab> is different than pminfo -h somehost <tab> or pminfo
-a somearchive <tab>. Can be configured with zstyles to offer full
names (the default) or partial completion (so pminfo <tab> will
not offer all the 1000+ metrics but only the ~20-30 high level
branches)
- support derived metrics as well
* support for relevant instances
- pmval kernel.all.load -i <tab> will offer only the instances of
kernel.all.load but pmval -i <tab> offers all instances since zsh
can't yet read the user's mind for the metric s/he's thinking of
* support for pmrep metricsets
- pmrep --config ./pmrep.conf :<tab> offers the metricsets specified
in that particular configuration file
* offer archive names, not archive files when completing
- if you have the usual files 20160510.{0,meta,index} in a directory,
just offer 20160510 with -a/--archive, others wouldn't work anyway
- supports also multi-archive specification
* recognize mutually exclusive options
- offer only one of -a/--container/-h/-L, offer -K only with -L,
don't offer -Z if -z is already present, etc
* offer running containers for --container
- by default offers names, can be configured with zstyles to offer
IDs (but in both cases recognizes both if needed)
* recognize -K/--spec-local keywords
- -K <tab> offers: add del clear
* recognize pmfind mechanisms and services
* recognize pmiostat aggregation methods
* recognize pmiostat extended options
* recognize pmrep output alternatives
* recognize scaling options for pmrep
- so pmrep -b <tab> offers KB, MB, GB, and so, and pmrep -q <tab>
offers those hard to know counter scaling options the right way
* recognize pcp subcommands
* recognize commands supporting multiple -a/-h/-H
* offer font families with pmchart -f <tab>
commit 998dd883994901ecff8f4a4cb0b4b6e5abfb2fae
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri May 13 09:21:11 2016 +1000
build: improve command-check error reporting in configure.ac
Henry reported a series of small failures on a build machine
lacking a number of (evidently optional) commands - things like
find, which, etc. Some were cascading failures (the check for
yacc uses which, which had not yet been checked for), and other
times (find) there was no checks but assumptions in makfiles.
Add missing commands & use AC_MSG_ERROR in a couple more spots.
commit a20572d4ae338aad986e3b84188e7934b523fd25
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu May 12 17:11:57 2016 -0400
Fix qa fallout from the previous pmcd connect timeout change.
commit 1b74b0f5e2bce51b7ef769dd964e8c3182cf27c5
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Thu May 12 17:10:03 2016 -0400
Respect the pmcd connect timeout for clients as configured.
Attempt connection on all of the addresses returned by
getaddrinfo(3) simultaneously using select(3).
One timeout to rule them all.
|