Changes committed to git://oss.sgi.com/pcp/pcp-gui.git gadgets
man/man1/pmchart.1 | 2
man/man1/pmgadgets.1 | 703 ++++++++++++
man/man1/pmgcisco.1 | 124 ++
man/man1/pmgcluster.1 | 133 ++
man/man1/pmgshping.1 | 164 +++
man/man1/pmgsys.1 | 196 +++
src/gadgets/pmgadgets-args.sh | 411 +++++++
src/gadgets/pmgcisco.sh | 299 +++++
src/gadgets/pmgcluster.sh | 323 +++++
src/gadgets/pmgshping.sh | 286 ++++-
src/gadgets/pmgsys.c++ | 2296 +++++++++++++++++++++---------------------
src/gadgets/pmgsys.py | 380 ++++++
12 files changed, 4086 insertions(+), 1231 deletions(-)
commit 4cdc5a04f2713cf26c1109f9458a42f6e8857d70
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Feb 5 16:17:04 2014 +1100
Rewrite the pmgsys application in python
pmgsys was originally written as a C++ program, which made a
number of things painful (esp. tweaking and extending it).
Since we can now use the PMAPI in python tools, rewriting it
was relatively straight forward.
Biggest missing thing from this first iteration is the logic
to group disks by their controllers. This is non-trivial in
Linux (cmp IRIX, where the block device driver helps no end)
as we do not have this mapping readily available.
We may want to generalise this mapping concept too - e.g.
some people may wish to show the partitions/disks mapping,
others may be interested in mapping NUMA nodes to the CPUs
they contain (drawing lines to link 'em). Some interesting
potential anyway, and using python hopefully will encourage
experimentation in this area.
commit 4f991f583338e74b43cb9c0e19fad3a521aefda6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Feb 5 16:07:51 2014 +1100
Resolve symlink security vulnerabilities in gadgets scripts
Nest tmp files under mktemp subdirs, as was done a couple of
years ago in all other PCP scripts. Previously these scripts
manipulated predictable files in /tmp allowing for symlink
race vulnerabilities.
commit 038972e5590f7d7c29218ab69aa92ba121ffff5e
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Feb 5 15:53:08 2014 +1100
Import pmgadgets frontend code as open sourced by SGI in Feb 2009.
commit 887b5549708d95b89c7ac37e32df743a9949ff2f
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Wed Feb 5 15:08:48 2014 +1100
Fix a teensy man page typo in pmchart.1
|