Add graphical time control support into pmstat, after abstracting
out some state management code from pmval into libpcp_gui. Also,
pulled in Kens recent changes for additional testing exposure.
Changes committed to git://oss.sgi.com/nathans/pcp.git
GNUmakefile | 1
INSTALL | 18 +
debian/GNUmakefile | 10
debian/control | 5
debian/libpcp-gui1-dev.dirs | 1
debian/libpcp-gui1-dev.install | 6
debian/libpcp-gui1.install | 1
debian/libpcp-gui2-dev.dirs | 1
debian/libpcp-gui2-dev.install | 6
debian/libpcp-gui2.install | 1
debian/rules | 4
man/man1/pmstat.1 | 25 ++
src/include/impl.h | 23 --
src/include/pmtime.h | 37 +++
src/libpcp/src/interp.c | 14 +
src/libpcp/src/tv.c | 64 +++++
src/libpcp/src/util.c | 70 ++++++
src/libpcp_gui/src/.gitignore | 1
src/libpcp_gui/src/GNUmakefile | 15 -
src/libpcp_gui/src/timestate.c | 306 ++++++++++++++++++++++++++++
src/libpcp_pmcd/src/client.c | 1
src/libpcp_pmcd/src/trace.c | 2
src/pmcd/src/client.c | 17 +
src/pmcd/src/client.h | 3
src/pmcd/src/pmcd.c | 1
src/pmcd/src/trace.c | 282 -------------------------
src/pmdas/pmcd/help | 13 +
src/pmdas/pmcd/root_pmcd | 7
src/pmdas/pmcd/src/pmcd.c | 231 +++++++++++++++++++--
src/pmie/src/pmie.c | 21 +
src/pmie/src/pragmatics.c | 8
src/pmlogger/pmlogger.c | 20 +
src/pmstat/GNUmakefile | 2
src/pmstat/pmstat.c | 242 ++++++++++++++--------
src/pmval/pmval.c | 447 ++++++-----------------------------------
35 files changed, 1100 insertions(+), 806 deletions(-)
commit c5568ef1cfda9daa163930fe69cbfb1578610374
Merge: f979c7c 05a72fe
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Mon Apr 27 09:49:37 2009 +1000
Merge branch 'dev' of git://oss.sgi.com/kenj/pcp into dev
commit 05a72fe257ba45918dd38e9e9a65ba2a1786b258
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Mon Apr 27 08:33:27 2009 +1000
Add __pmSetClientId() and pmcd.client.* metrics
These changes allow clients of pmcd to register their own id string
which is then exported via pmcd.client.whoami.
Currently pmie and pmlogger are the only clients using this, to
produce identification strings like this ...
pmcd.client.whoami
inst [1 or "1"] value "bozo-laptop.localdomain (127.0.1.1) pmlogger
-P -c config.default 20090427.08.05"
inst [44 or "44"] value "bozo-laptop.localdomain (127.0.1.1) pmie -b
-h bozo-laptop -l /var/log/pcp/pmie/bozo-laptop/pmie.log
-c config.default"
commit f979c7c06634e0586383781b13cff0310de84bff
Merge: 0dea65b 95298fc
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Apr 26 18:07:11 2009 +1000
Merge branch 'dev' of git://oss.sgi.com/nathans/pcp into dev
commit 0dea65b0321c90d7a8d0e2f6f766ea3132b6b0a9
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Sun Apr 26 18:06:22 2009 +1000
Extend libpcp_gui to include time control state management code.
This is the code from pmval, but made generic through the use of
callback functions for the points that a client tool needs to
take actions (step - fetching data, etc), mainly to simplify the
changes needed to console tools to incorporate support for the
pmtime(1) time control.
Finally, pmstat is modified to also be able to use time controls
as well (-g and -p options, same as pmval). Fair bit of testing
done to ensure pmval still functions, some improvements made too
to the now-shared finite state automaton.
commit c796c06a84a98d49f21253403db947f615145fa2
Author: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Thu Apr 23 21:26:45 2009 +1000
Interim checkin for pmcd.client.whoami support.
Changes for pmcd and pmcd PMDA to support a new pmcd.client.whoami
metric that allows clients (specifically pmlogger) to let pmcd know
what they are doing.
Motivated by Paul Smith's plea to know for a given system of interest
on which remote host(s) has an "interesting" pmlogger been running
collecting information from this host.
|