[Orca-users] Re: plot data cut off

blum0422 blum0422 at yahoo.com
Thu May 30 17:39:02 PDT 2002


I'm running version orcallator.se 1.28b5 on most of my machines (haven't updated them yet) but 1.32 (se & cfg) on the box that runs orca.  The plot in question is the Disk Space Percent Usage.  The FS that is mounted is longer than normal (VTS disks, ~28 chars) which starts the Curr/Ave/Min/Max quite a ways in....  I've set the summary_format option to "%3.0lf" with no apparent difference in display.  I'm not seeing any of the Max stats.  If I'm understanding the format right, there should only be whole numbers (no decimal places), but don't understand what the "lf" or "le" is...  Help.
--- In orca-users at y..., Blair Zajac <blair at o...> wrote:
> 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 o...>
> Web and OS performance plots - http://www.orcaware.com/orca/



More information about the Orca-users mailing list