Hi Michal,
On Jun 16, 10:39pm, Michal Kara wrote:
> Subject: Re: New PCPMON 1.2.95 - archive mode added
> > ...
> > Can PCPMON produce a graphical representation of selected hours from
> > multiple
> > days in its present form (e.g. average cpu utilization this week between
> > the
> > hours of 8 am and 5 pm) ?
> >
>
> In the announcement I have asked whether to add possibility of applying time
> offset to the archive so that data from multiple days (e.g.) can be in the
> graph
> on the same time point. From your question I see it is necessary :)
>
> When I add it, you will be able to run:
> pcpmon -a day1=... -a day2=... -s -1d -a day3=... -s -2d
>
fyi - there is some code in libpcp for parsing time windows
... see pmParseTimeWindow(3). most of the tools in the base
pcp rpm will use this routine when parsing their -S and -T
options, as described in the PCPIntro(1) man page in the `TIME
WINDOW SPECIFICATION' section.
it might save you some coding effort here.
cheers.
--
Nathan
|