You may want to post this to the net-snmp-coders list instead, as it
seems more up their alley.
HTH,
Mike
> -----Original Message-----
> From: Frans Grotepass [mailto:[EMAIL PROTECTED]
> Sent: Friday, November 21, 2008 2:02 AM
> To: [email protected]
> Subject: Re: pr_size value in psinfo for 64 bit applications
> on Solaris 10
>
> Frans Grotepass wrote:
> > Hi, Firstus postus We use Net-SNMP for system health
> inspection. We noticed that our 64 bit apps did not report
> their pr_size variable from the psinfo struct correctly. Some
> info on the web shows that checking with a 32 bit application
> give incorrect values for 64 bit applications. What is the
> method to get correct values for these variables?
>
> OK, reading my previous post, I realise there is some missing info...
>
> This variable in psinfo translates to the hrSWRunPerfMem
> variable. This
> variable returns correct
> values for 32bit applications but goes to 0 for 64bit apps on
> Solaris 10.
>
> A 32bit compiled test C program using code similar to that in
> agent/mibgroup/host/hr_swrun.c also
> validates this behaviour. If this same application is
> compiled as 64bit,
> it gives correct return
> values of the 64 bit apps.
>
> I couldn't find any information on the net-snmp to explain this
> behaviour. Should I file a bug or
> must net-snmp be built as a 64 bit binary to solve this problem?
>
> We could build a work around using the pr_pctmem in the
> solaris psinfo
> struct, but I can not find a
> matching value in the mibs. It could be that it is not available via
> net_snmp This value
> translates to the used memory in a 15 bit fraction.
>
> Hope this clarifies my first message a little
>
>
>
> --------------------------------------------------------------
> -----------
> This SF.Net email is sponsored by the Moblin Your Move
> Developer's challenge
> Build the coolest Linux based applications with Moblin SDK &
> win great prizes
> Grand prize is a trip for two to an Open Source event
> anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> Net-snmp-users mailing list
> [email protected]
> Please see the following page to unsubscribe or change other options:
> https://lists.sourceforge.net/lists/listinfo/net-snmp-users
>
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users