Lahiru, still it needs Java7. That of course community has to agree.
On Fri, Feb 21, 2014 at 8:47 AM, Lahiru Sandaruwan <[email protected]> wrote: > Hi Niramal, > > > > > On Thu, Feb 20, 2014 at 6:41 PM, Nirmal Fernando > <[email protected]>wrote: > >> Thanks Lahiru, Yes I also found Sigar but it has several issues like not >> having in maven etc. >> > > Ahh.. I see... > >> And OperatingSystemMXBean is a Sun implementation if I am not mistaken. >> > But as i searched a bit, this will work on IBM and Open JDK as well. Any > other concern on this has been developed by Sun? > > Another advantage is this is a cross platform solution. > > Thanks. > >> On Feb 21, 2014 1:57 AM, "Lahiru Sandaruwan" <[email protected]> wrote: >> > >> > Hi Nirmal, >> > >> > This is a library to get CPU/ memory etc, right? >> > I also could not get a clear idea about this library as it seems the >> licence is specific to this company. >> > >> > Found [1] at SO. >> > >> > One suggestion there, which is interesting, but limited to Java 7 is, >> using OperatingSystemMXBean. >> > >> > Another one is, Sigar, which is licenced as Apache licence. >> > >> > "Sigar API you can get Memory, CPU, Disk, Load-Average, Network >> Interface info and metrics, Process Table information, Route info, etc." >> > >> > Hope this helps! >> > >> > Thanks. >> > >> > [1] >> http://stackoverflow.com/questions/47177/how-to-monitor-the-computers-cpu-memory-and-disk-usage-in-java >> > >> > >> > On Thu, Feb 20, 2014 at 12:24 PM, Nirmal Fernando < >> [email protected]> wrote: >> >> >> >> Hi All, >> >> >> >> $Subject? It's copyrighted to ThoughtWorks Inc. >> https://github.com/jezhumble/javasysmon/blob/master/LICENSE >> >> >> >> -- >> >> Best Regards, >> >> Nirmal >> >> >> >> Nirmal Fernando. >> >> PPMC Member & Committer of Apache Stratos, >> >> Senior Software Engineer, WSO2 Inc. >> >> >> >> Blog: http://nirmalfdo.blogspot.com/ >> > >> > >> > >> > >> > -- >> > -- >> > Lahiru Sandaruwan >> > Software Engineer, >> > Platform Technologies, >> > WSO2 Inc., http://wso2.com >> > lean.enterprise.middleware >> > >> > email: [email protected] cell: (+94) 773 325 954 >> > blog: http://lahiruwrites.blogspot.com/ >> > twitter: http://twitter.com/lahirus >> > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 >> > >> > > > > -- > -- > Lahiru Sandaruwan > Software Engineer, > Platform Technologies, > WSO2 Inc., http://wso2.com > lean.enterprise.middleware > > email: [email protected] cell: (+94) 773 325 954 > blog: http://lahiruwrites.blogspot.com/ > twitter: http://twitter.com/lahirus > linked-in: http://lk.linkedin.com/pub/lahiru-sandaruwan/16/153/146 > > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
