Changes committed to git://oss.sgi.com/pcp/pcp.git dev
man/man1/pcpintro.1 | 4 --
qa/511 | 8 +++-
qa/711 | 73 +++++++++++++++++++++++++++++++++++++++++
qa/711.out | 12 ++++++
qa/group | 1
qa/sadist/891688-dash-time.xml | 20 +++++++++++
qa/sadist/GNUmakefile | 2 -
src/pmimport/sar2pcp/sar2pcp | 12 ++++++
8 files changed, 126 insertions(+), 6 deletions(-)
commit c7ed696eda48a6acea94d32b8b769bb631f59dc1
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jan 4 11:37:07 2013 +1100
Remove pcpintro.1 reference to old IRIX pcp.sw.base package
commit 51f4dac2644fdef72dfb39331c08670da028f9f6
Author: Nathan Scott <nathans@xxxxxxxxxx>
Date: Fri Jan 4 11:35:28 2013 +1100
Handle a change in sadf timestamp reporting
A few versions of sadf in the 10.x series used a different
format for the timestamp hours/minutes/seconds, which was
not recognised by the perl Date::Parser module. Looks like
sysstat author then changed it back again, so guess it was
causing breakage for other peoples scripts too.
sysstat-10.0.2/sadf.c: strftime(cur_time, len, "%H-%M-%S", rectime);
sysstat-10.0.3/sadf.c: strftime(cur_time, len, "%H-%M-%S", rectime);
sysstat-10.1.1/sadf.c: strftime(cur_time, len, "%H:%M:%S", rectime);
This commit allows sar2pcp to handle either form, and adds a
new test case (711) exercising the handling of the problem.
It runs on latest PCP only, checked it fails on all earlier
versions first. Some refactoring of 511 needed, else it'd
try to run this too but for too-old PCP variants.
|