On 20/10/06, Thomas Anders <[EMAIL PROTECTED]> wrote: > > I see more stuff, but no CPU stats. > > What's the output of > net-snmp-config --snmpd-module-list | tr " " "\n" | grep cpu_ > > ? ...cpu_sysctl? The content of agent/mibgroup/hardware/cpu.h vs. the comments > in agent/mibgroup/hardware/cpu/cpu_nlist.c / > agent/mibgroup/hardware/cpu/cpu_sysctl.c are confusing enough for me to not be > sure what's the *intended* implementation for Darwin. :-/ Dave, can you > clarify, > please?
The original ucd-snmp implementation (in vmstat_darwin7.c) used the nlist interface, hence the comments in cpu_nlist.c. Since that initial conversion, I discovered (or got the impression) that Darwin supports the rather cleaner sysctl interface - hence the structure of cpu.h. But this isn't an architecture that I have any real experience of, so I'm ready to be guided appropriately. Of Chris' list of issues: > Here are my work priorities for Net-SNMP on OS X: > • Finalize Darwin 8 and 9 patches > • Test building embedded Perl > • Get CPU and memory stats working > • IPv6 support > • Identify what to disable to build without Apple's internal headers I'd personally be inclined to switch items two and three - but then I'm biased! Dave ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Net-snmp-coders mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/net-snmp-coders
