[Orca-users] Re: orca still displaying zeros

Blair Zajac blair at orcaware.com
Thu Oct 18 11:35:24 PDT 2001


bajones at SKY.NET wrote:
> 
> --- In orca-users at y..., Blair Zajac <blair at o...> wrote:
> > Can you send the diffs to orcallator.se you made?
> >
> > I would look at orcallator.cfg quickly to see if there's any
> problems with
> > it for the freemem plot so that it won't display the data.
> >
> > How long did you wait before checking Orca's new plots for the data
> to
> > show up?
> >
> > Blair
> 
> These are the changes I made -
> 
> /*    double updates;  */
>     uint updates;
> 
> #define PGTOK(n)            (((n) * pagesize) / 1024)
> #define DELTA(name)         (new_vminfo.name - old_vminfo.name)
> #define COMPUTE(name)       PGTOK(DELTA(name) / updates)
> 
> rather than call COMPUTE/PGTOK/DELTA, I did all the calculations that
> are called by COMPUTE down in the code.
> 
> I left orca running for about 12 hours before I checked to see if it
> was producing anything on the graph, and I could see in the
> percollator report that I am now getting valid numbers rather than
> the zeros that I was getting.  But still nothing in the graph....

Can you send a diff -u for the changes you made?  It'll be easier to see the
actual differences and integrate them into the code.

Since people have been asking how to do patches, here's what I'm looking for
here:

1) Determine the version of orcallator.se you are using
2) cd /tmp
3) Get the same original version from the web site
   wget http://www.orcaware.com/orca/pub/orcallator.se-X.YY.txt
4) Do the diff
   diff -u orcallator.se-X.YY.txt /where/us/your/modified/orcallator.se >d.txt
5) Email d.txt

Are there any errors that Orca is warning about?  Can you send the plot {}
configuration file options that are not working?

Blair

-- 
Blair Zajac <blair at orcaware.com> - Perl & sysadmin services for hire
OS & web analysis - http://www.orcaware.com/orca/



More information about the Orca-users mailing list