Changes committed to git://oss.sgi.com/pcp/pcp.git dev
man/man1/pmcd.1 | 28 +-
qa/540 | 55 +++++
qa/540.out | 2
qa/group | 1
src/pmdas/linux/GNUmakefile | 33 +--
src/pmdas/linux/clusters.h | 1
src/pmdas/linux/devmapper.c | 80 ++++++++
src/pmdas/linux/devmapper.h | 29 ++
src/pmdas/linux/help | 1
src/pmdas/linux/indom.h | 1
src/pmdas/linux/pmda.c | 56 ++++-
src/pmdas/linux/proc_lv.c | 174 ++++++++---------
src/pmdas/linux/proc_lv.h | 66 +++---
src/pmdas/linux/root_linux | 2
src/pmdas/simple/pmdasimple.py | 3
src/python/pcp/pmda.py | 57 +++--
src/python/pmda.c | 409 +++++++++++++++++++++++++++++++++++++++--
17 files changed, 804 insertions(+), 194 deletions(-)
commit af1cf9be821212677ceda7a1598a70114226b371
Author: Dave Brolley <brolley@xxxxxxxxxx>
Date: Fri May 31 17:16:52 2013 -0400
Update ACCESS CONTROL section of pmcd.1 with IPv6 details.
commit 4b63e2227ae5ad023af95470b2efc9789be188aa
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Jun 3 11:08:07 2013 +1000
Add an automated test exercising the hinv.map.lvname metric
Test 540 added, comparing the instance domain and values for the
hinv.map.lvname metric to the contents of /dev/mapper.
commit a9cf740f71baa6ca1fcc820247f5b170e7c7544d
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Jun 3 11:02:44 2013 +1000
Updates for several small hinv.map.lvname issues from code review
Addresses the following aspects:
- prov_lv.c and proc_lv.h - these aren't manipulating procfs files,
renamed to dev_mapper.[ch] (for code too - refresh_proc_lv etc).
- copyright annotation in both files was incorrect.
- code style inconsistent with the rest of pmdalinux coding-style.
- path[64] and linkname[256] now using MAXPATHLEN.
commit 8991691f6d273eb60e5fce383bef941dea753320
Author: Stan Cox <scox@xxxxxxxxxx>
Date: Mon Jun 3 09:57:41 2013 +1000
Implement a logical-volume-to-device-name mapping in pmdalinux
Provides a mechanism for determining the logical volume names
of a given Linux kernel device mapper device name, allowing
client tools to use the higher level names.
Sample Use:
dbpmda> desc hinv.map.lvname
PMID: 60.52.0
Data Type: string InDom: 60.22 0xf000016
Semantics: discrete Units: none
dbpmda> instance 60.22
pmInDom: 60.22
[ 0] inst: 1 name: "dm-3"
[ 1] inst: 2 name: "dm-2"
[ 2] inst: 3 name: "dm-4"
[ 3] inst: 4 name: "dm-0"
[ 4] inst: 5 name: "dm-1"
dbpmda> fetch hinv.map.lvname
PMID(s): 60.52.0
pmResult dump from 0x187ecd0 timestamp: 0.000000 19:00:00.000 numpmid: 1
60.52.0 (hinv.map.lvname): numval: 5 valfmt: 1 vlist[]:
inst [1 or ???] value "vg_dieyong-lv_work"
inst [2 or ???] value "vg_dieyong-lv_images"
inst [3 or ???] value "vg_dieyong-lv_home"
inst [4 or ???] value "vg_dieyong-lv_swap"
inst [5 or ???] value "vg_dieyong-lv_root"
commit ee6de2f428c71502cb56d23d47daf20cb1016a87
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Jun 3 09:48:12 2013 +1000
Initial implementation of the python pmda callback methods
Provides the fetch, instance, cluster refresh, and store callback
interfaces that sit between the C API and python PMDA class.
Some of the other helper mechanisms provided by the perl wrapper
are also now implemented (error/info logging, uptime metric help).
|