Quantcast
Channel: VMware Communities : Popular Discussions - Hyperic User Forums
Viewing all articles
Browse latest Browse all 52618

Hyperic Sigar Support for ARM

$
0
0
Hello,

I work with a company called Bug Labs.  We have some projects requiring the collection of system information from within a java/OSGi context.  I was dabbling a bit and managed to cross compile the jni for our armv7a architecture.  However, when using it to gather CPU info I noticed that the jni seemed to be x86/x86_64 specific when parsing /proc/cpuinfo.

Here's a snippit of what's provided from our linaro-derived (2.6.35) kernel. 

# cat /proc/cpuinfo
Processor       : ARMv7 Processor rev 3 (v7l)
BogoMIPS        : 482.11
Features        : swp half thumb fastmult vfp edsp thumbee neon vfpv3
CPU implementer : 0x41
CPU architecture: 7
CPU variant     : 0x1
CPU part        : 0xc08
CPU revision    : 3

Hardware        : OMAP3 BUGBase
Revision        : 0020
Serial          : 0000000000000000

Popular platforms such as Beagleboard have /proc/cpuinfo in a similar layout (depending on the kernel, naturally).

I could fork and provide a patch for people interested in using Sigar on ARM platforms.  It may be as simple as redefining strEQ to be strcasecmp insead of strcmp.  Not sure, I haven't dug in deep yet.  Anyone interested?

Viewing all articles
Browse latest Browse all 52618

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>