Ok,Thanks for the input guys. I think it's ok to use OperatingSystemMXBean even though it's a Sun implementation. And we don't need java7 for that but >1.5.
On Fri, Feb 21, 2014 at 9:14 AM, Manoj Fernando <[email protected]> wrote: > Have come across on another mail thread that this library may not be > working correctly on SunOS (at lease on some versions). Similar issue as > Sanjiva noticed on Mac, it gave 0 CPU on SunOS 5.10 (sparc 64bit). > > Regards, > Manoj > > > On Fri, Feb 21, 2014 at 9:03 AM, Lahiru Sandaruwan <[email protected]>wrote: > >> Do we support Windows or Mac? If so we announce so, we should run a test, >> right? >> >> >> >> On Thu, Feb 20, 2014 at 8:30 PM, Nirmal Fernando >> <[email protected]>wrote: >> >>> Yes, we should support all platforms since Cartridges can be created on >>> any platform. >>> >>> >>> On Fri, Feb 21, 2014 at 8:58 AM, Isuru Perera <[email protected]> wrote: >>> >>>> Hi >>>> >>>> >>>> On Fri, Feb 21, 2014 at 8:54 AM, Lahiru Sandaruwan <[email protected]>wrote: >>>> >>>>> Hi guys, >>>>> >>>>> On the concern of cross platform solution, i think we are planning to >>>>> have the Cartridge agent in Java, most probably for this release only, >>>>> right? >>>>> >>>>> I think the plan is to have a Python or some lightweight agent in the >>>>> future, as we solve the issues with Python MB client. >>>>> >>>>> As long as we are planning to support the Linux based cartridges only, >>>>> there will not be any concern on cross platform capability. >>>>> >>>> We should support other platforms, once we have a stable core release. >>>> So, we should think about other platforms. >>>> >>>>> >>>>> Thanks. >>>>> >>>>> >>>>> On Thu, Feb 20, 2014 at 8:17 PM, Isuru Perera <[email protected]> wrote: >>>>> >>>>>> >>>>>> >>>>>> >>>>>> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana < >>>>>> [email protected]> wrote: >>>>>> >>>>>>> Yes I knew that Isuru :-). >>>>>>> >>>>>> Okay great! :) >>>>>> >>>>>>> I downloaded and ran it and it looks like its not quite working for >>>>>>> MacOS .. it shows 0 memory usage for all but the Java process. It looks >>>>>>> like this code is very early stage .. good idea and a very useful lib >>>>>>> but >>>>>>> someone needs to do a lot of painful work to get it to work on each OS. >>>>>>> >>>>>> >>>>>>> Are we going to define clean event streams for each of the bits of >>>>>>> info we plan to publish from this? IMO getting that right is most >>>>>>> critical >>>>>>> - then we can even use different libs on different platforms if needed. >>>>>>> >>>>>> Yes. That's the plan AFAIK. (I was bit away from project for few >>>>>> weeks). This is part of the Cartridge agent and most of the cartridges >>>>>> are >>>>>> based on Linux. So, this lib should be fine for our needs for now. Let's >>>>>> think of other ways when we make Cartridges for other platforms. >>>>>> >>>>>>> >>>>>>> Sanjiva. >>>>>>> >>>>>>> >>>>>>> On Fri, Feb 21, 2014 at 8:28 AM, Isuru Perera <[email protected]>wrote: >>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana < >>>>>>>> [email protected]> wrote: >>>>>>>> >>>>>>>>> How platform dependent are these? The OS level data is quite >>>>>>>>> different from Linux / Windows / MacOS etc. right? Lets make sure the >>>>>>>>> platforms we need are covered by these libs - presumably they have a >>>>>>>>> bunch >>>>>>>>> of native code underneath. >>>>>>>>> >>>>>>>> Yes. Javasysmon has some native code: >>>>>>>> https://github.com/jezhumble/javasysmon/tree/master/lib/native >>>>>>>> >>>>>>>>> >>>>>>>>> Sanjiva. >>>>>>>>> >>>>>>>>> >>>>>>>>> On Fri, Feb 21, 2014 at 7:12 AM, Nirmal Fernando < >>>>>>>>> [email protected]> wrote: >>>>>>>>> >>>>>>>>>> Thanks for confirming Paul! >>>>>>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <[email protected]> wrote: >>>>>>>>>> >>>>>>>>>>> That license is a standard BSD license and is compatible with >>>>>>>>>>> Apache. >>>>>>>>>>> >>>>>>>>>>> Paul >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> On 20 February 2014 19:24, 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/ >>>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> >>>>>>>>>>> -- >>>>>>>>>>> Paul Fremantle >>>>>>>>>>> CTO and Co-Founder, WSO2 >>>>>>>>>>> OASIS WS-RX TC Co-chair, Apache Member >>>>>>>>>>> >>>>>>>>>>> UK: +44 207 096 0336 >>>>>>>>>>> US: +1 646 595 7614 >>>>>>>>>>> >>>>>>>>>>> blog: http://pzf.fremantle.org >>>>>>>>>>> twitter.com/pzfreo >>>>>>>>>>> [email protected] >>>>>>>>>>> >>>>>>>>>>> wso2.com Lean Enterprise Middleware >>>>>>>>>>> >>>>>>>>>>> Disclaimer: This communication may contain privileged or other >>>>>>>>>>> confidential information and is intended exclusively for the >>>>>>>>>>> addressee/s. >>>>>>>>>>> If you are not the intended recipient/s, or believe that you may >>>>>>>>>>> have >>>>>>>>>>> received this communication in error, please reply to the sender >>>>>>>>>>> indicating >>>>>>>>>>> that fact and delete the copy you received and in addition, you >>>>>>>>>>> should not >>>>>>>>>>> print, copy, retransmit, disseminate, or otherwise use the >>>>>>>>>>> information >>>>>>>>>>> contained in this communication. Internet communications cannot be >>>>>>>>>>> guaranteed to be timely, secure, error or virus-free. The sender >>>>>>>>>>> does not >>>>>>>>>>> accept liability for any errors or omissions. >>>>>>>>>>> >>>>>>>>>> >>>>>>>>> >>>>>>>>> >>>>>>>>> -- >>>>>>>>> Sanjiva Weerawarana, Ph.D. >>>>>>>>> Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ >>>>>>>>> email: [email protected]; office: (+1 650 745 4499 | +94 11 214 >>>>>>>>> 5345) x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 >>>>>>>>> 650 265 8311 >>>>>>>>> blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva >>>>>>>>> Lean . Enterprise . Middleware >>>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> >>>>>>>> -- >>>>>>>> Isuru Perera >>>>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>>>>>>> >>>>>>>> Lean . Enterprise . Middleware >>>>>>>> >>>>>>>> about.me/chrishantha >>>>>>>> >>>>>>> >>>>>>> >>>>>>> >>>>>>> -- >>>>>>> Sanjiva Weerawarana, Ph.D. >>>>>>> Founder, Chairman & CEO; WSO2, Inc.; http://wso2.com/ >>>>>>> email: [email protected]; office: (+1 650 745 4499 | +94 11 214 >>>>>>> 5345) x5700; cell: +94 77 787 6880 | +1 408 466 5099; voip: +1 650 >>>>>>> 265 8311 >>>>>>> blog: http://sanjiva.weerawarana.org/; twitter: @sanjiva >>>>>>> Lean . Enterprise . Middleware >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Isuru Perera >>>>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>>>>> Lean . Enterprise . Middleware >>>>>> >>>>>> about.me/chrishantha >>>>>> >>>>> >>>>> >>>>> >>>>> -- >>>>> -- >>>>> 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 >>>>> >>>>> >>>> >>>> >>>> -- >>>> Isuru Perera >>>> Senior Software Engineer | WSO2, Inc. | http://wso2.com/ >>>> Lean . Enterprise . Middleware >>>> >>>> about.me/chrishantha >>>> >>> >>> >>> >>> -- >>> 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 >> >> > > > -- > Manoj Fernando > Director - Solutions Architecture > > Contact: > LK - +94 112 145345 > Mob: +94 773 759340 > www.wso2.com > -- Best Regards, Nirmal Nirmal Fernando. PPMC Member & Committer of Apache Stratos, Senior Software Engineer, WSO2 Inc. Blog: http://nirmalfdo.blogspot.com/
