[Orca-users] Re: page scan rate always zero -- sar says otherwise (Solaris 2.5.1)

Rick Tessner rick at dingle.myra.com
Fri Mar 24 10:23:11 PST 2000

From: Rick Tessner <rick at dingle.myra.com>

On Fri, 24 Mar 2000 10:08:33 PST, Blair Zajac wrote:

>From: Blair Zajac <blair at akamai.com>
>I think I found the problem.  In SE for Solaris 2.5.1 the p_vmstat
>object has an "int scan" structure and in SE for Solaris 2.6 and
>above it is a "double scan".  So the printf is failing for the
>Solaris 2.5.1.  I haven't tried this yet, but the fix is simple,
>  put_output("scanrate", sprintf("%8.3f", pvm.scan));
>  put_output("scanrate", sprintf("%8.3f", (double) pvm.scan));

Nope, that didn't do it ... When the orcallator.se started up, it
said that it was "an unecessary cast" (I s'pose cause it's inside
the sprintf())

I've been looking at it more this morning and trying to write a
"scanrate.se" script.  I've had some minor success in forcing a
call to "pvm_update(time(0))" prior to calling the vmglobal_total().

 [ pvm_update is in the live_rules.se file and seems to be the puppy
   that tracks the last-updated time ]

Unfortunately, that's not giving me consistent results across 2.5.1 & 2.6

I'll keep plugging away at this and see what I can find ...

Rick Tessner	rick at myra.com
MYRA Systems Corp. Fone: (250) 381 1335 x125  Phax: (250) 381 1304
                   Cell: (250) 885 9452

"If you can't think of something nice to say, come sit beside me."

You have a voice mail message waiting for you at iHello.com:

More information about the Orca-users mailing list