On Tue, 21 Mar 2006 11:52:32 +0100 Malcolm wrote:
MT> We have used the getkstat function to retrieve the ipackets and opackets
MT> values.
MT>
MT> 1) From previous answers:
MT>
MT> "The code takes care of using a 32 bit counter and watching for it to wrap,
MT> and updating the
MT> hc counters."
M
Hi,
I have several questions:
We have used the getkstat function to retrieve the ipackets and opackets values.
1) From previous answers:
"The code takes care of using a 32 bit counter and watching for it to wrap, and updating thehc counters."
Q: So do we just enter the 32 bit value that is retrie
On Thu, 2006-03-09 at 20:07 +0100, Malcolm Townsend wrote:
> Would anyone know who calls var_ifEntry in Solaris ?
It's called by the main agent driving code, when a request
is received for a MIB object within the interfaces tree.
If you want to follow the flow of control, it basically
starts with
Hi,
I have question,
Would anyone know who calls var_ifEntry in Solaris ? i.e, this function makes I imagine requests to kernel_sunos5.c to find out the actual statistics values (I guess).
I'm trying to follow my intuition, and copy the pertinent /mibII/interfaces.c code into a new /data_acc
Hi,
Thank you for your response. Unfortunately I do not have access to IRC.
So what you are saying is that:
-I can just cut and paste all the code related to Solaris from /mibII/interfaces.c and place this in a new file under /if-mib/data_access --> interface_solaris.c.
-The pasted code recupera
On Fri, 24 Feb 2006 16:53:52 +0100 Malcolm wrote:
MT> -I note that the kernel statistics are read in the file kernel_sunos5.c via
MT> kstats. ifInoctets is derived from ipackets (amultiplied by 308 to get
MT> octets presumably) . So I therefore gather for the ifHCinoctets counter
MT> ipackets64 wou
On Fri, 2006-02-24 at 16:53 +0100, Malcolm Townsend wrote:
> I note also there is an interface.c file in both /mibII and
> in /mibgroup/if-mib/data_access.
Forget about the mibII code - that's the original version,
inherited from the CMU package. The 'if-mib' subtree is
the new re-implementation,
Hi,
I would be interested in having a stab at getting th ifHCinoctets 64counter (ifxtable) counter to work for Solaris. I have an ultra 5 with Solaris 9. I know little C, but have friends who can help me.
I've started to have a look at the source code to try and understand what is going on. I'm a