Hi, I've started working on 'bootup self test' component for carbon as per : https://wso2.org/jira/browse/CARBONROADMAP-15 The purpose of the component is to check whether the system configurations (processor, memory, disk space etc.) satisfy the minimum requirements to run carbon: http://184.73.58.25:8081/wiki/display/carbon/System+Requirements
As per hints given by Azeez on the jira, some configuration info can be collected using JMX OperatingSystem MBean, Memory MBean, etc. Yes, most of the JVM specific information can be collected using JMX; However AFAIU, if we need to get system info such as cpu-speed, physical memory we'll either have to use native calls OR use an API to collect these info from the underlying OS. I looked for such an API and came across SIGAR API [1] which is a portable interface for gathering system information. So can I have some ideas on a way forward in implementing the component? Should I use SIGAR to retrieve sys.info or can anybody think of a better/easier way to do so? Thanks, Dileepa [1] http://support.hyperic.com/display/SIGAR/Home -- Dileepa Jayakody, Software Engineer, WSO2 Inc. Lean . Enterprise . Middleware Mobile : +94777-857616
_______________________________________________ Carbon-dev mailing list [email protected] http://mail.wso2.org/cgi-bin/mailman/listinfo/carbon-dev
