[Orca-users] Re: plot data cut off
Blair Zajac
blair at orcaware.com
Thu May 30 11:08:43 PDT 2002
blum0422 wrote:
> Orca-users,
> I'm having a problem with the data for my graphs being cut off.
> I.E. Cur/Ave/Min/Max data is cut off at the end (Max not visable).
> I've looked throughout the orcallator.cfg and can't find any settings
> that would have any effect on this. I am running orca 0.27b2, perl
> 5.005_03, RICHPse v3.2.1, rrd 1.0.33. Any information would be very
> helpful. Thanks in advance
So you're saying that the text at the end of a line showing the cur,
ave, min, max is not showing all the max text?
Which orcallator.se and orcallator.cfg are you using?
Which plot is having problems?
For the offending plot, change or add a
summary_format
option to the plot. From Orca's manual page:
summary_format *format*
The summary_format option specifies the format for the summary
values, as passed to the RRDtool GPRINT function. In the format
string there should be a '%lf' or '%le' marker in the place where
the number should be printed.
If an additional '%s' is found AFTER the marker, the value will be
scaled and an appropriate SI magnitude unit will be printed in place
of the '%s' marker. The scaling will take the base of the plot into
consideration.
If a '%S' is used instead of a '%s', then instead of calculating the
appropriate SI magnitude unit for this value, the previously
calculated SI magnitude unit will be used. This is useful if you
want all the values in a PRINT statement to have the same SI
magnitude unit. If there was no previous SI magnitude calculation
made, then '%S' behaves like a '%s', unless the value is 0, in which
case it does not remember a SI magnitude unit and a SI magnitude
unit will only be calculated when the next '%s' is seen or the next
'%S' for a non-zero value.
The same format is used for each number within a single summary
line, but you can specify multiple summary_format options if there
are multiple plots on the graph:
plot {
source things
data some
data other
data things
data something_else
summary_format %.0lf
summary_format %4.1f %s
color 0000ff
color ff0000
}
If there are no summary format specifiers, then the default format
of '%9.3lf %S' will be used for all of the data summary lines.
If at least one summary_format is specified and there are more
data's than summary_format's, then the last specified summary_format
will be used for all of the data summary lines that were not given a
summary_format. In the example above, there are four data's and only
two summary_format's. The format '%4.1f %s' will be used for the
`things' and `something_else' data summary lines.
Best,
Blair
--
Blair Zajac <blair at orcaware.com>
Web and OS performance plots - http://www.orcaware.com/orca/
More information about the Orca-users
mailing list