You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@stratos.apache.org by Nirmal Fernando <ni...@gmail.com> on 2014/02/20 20:24:55 UTC

Can we use Javasysmon library in Stratos?

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/

Re: Can we use Javasysmon library in Stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
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 <ma...@wso2.com> 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 <la...@wso2.com>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 <ni...@gmail.com>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 <is...@wso2.com> wrote:
>>>
>>>> Hi
>>>>
>>>>
>>>> On Fri, Feb 21, 2014 at 8:54 AM, Lahiru Sandaruwan <la...@wso2.com>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 <is...@wso2.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <
>>>>>> sanjiva@wso2.com> 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 <is...@wso2.com>wrote:
>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <
>>>>>>>> sanjiva@wso2.com> 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 <
>>>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>>>
>>>>>>>>>> Thanks for confirming Paul!
>>>>>>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>>>>>>>
>>>>>>>>>>> That license is a standard BSD license and is compatible with
>>>>>>>>>>> Apache.
>>>>>>>>>>>
>>>>>>>>>>> Paul
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> On 20 February 2014 19:24, Nirmal Fernando <
>>>>>>>>>>> nirmal070125@gmail.com> 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
>>>>>>>>>>> paul@wso2.com
>>>>>>>>>>>
>>>>>>>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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: lahirus@wso2.com 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: lahirus@wso2.com 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/

Re: Can we use Javasysmon library in Stratos?

Posted by Manoj Fernando <ma...@wso2.com>.
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 <la...@wso2.com> 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 <ni...@gmail.com>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 <is...@wso2.com> wrote:
>>
>>> Hi
>>>
>>>
>>> On Fri, Feb 21, 2014 at 8:54 AM, Lahiru Sandaruwan <la...@wso2.com>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 <is...@wso2.com> wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <sanjiva@wso2.com
>>>>> > 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 <is...@wso2.com>wrote:
>>>>>>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <
>>>>>>> sanjiva@wso2.com> 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 <
>>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>>
>>>>>>>>> Thanks for confirming Paul!
>>>>>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>>>>>>
>>>>>>>>>> That license is a standard BSD license and is compatible with
>>>>>>>>>> Apache.
>>>>>>>>>>
>>>>>>>>>> Paul
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>> On 20 February 2014 19:24, Nirmal Fernando <
>>>>>>>>>> nirmal070125@gmail.com> 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
>>>>>>>>>> paul@wso2.com
>>>>>>>>>>
>>>>>>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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: lahirus@wso2.com 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: lahirus@wso2.com 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

Re: Can we use Javasysmon library in Stratos?

Posted by Lahiru Sandaruwan <la...@wso2.com>.
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 <ni...@gmail.com>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 <is...@wso2.com> wrote:
>
>> Hi
>>
>>
>> On Fri, Feb 21, 2014 at 8:54 AM, Lahiru Sandaruwan <la...@wso2.com>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 <is...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <is...@wso2.com> wrote:
>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <
>>>>>> sanjiva@wso2.com> 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 <
>>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>>
>>>>>>>> Thanks for confirming Paul!
>>>>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>>>>>
>>>>>>>>> That license is a standard BSD license and is compatible with
>>>>>>>>> Apache.
>>>>>>>>>
>>>>>>>>> Paul
>>>>>>>>>
>>>>>>>>>
>>>>>>>>> On 20 February 2014 19:24, Nirmal Fernando <nirmal070125@gmail.com
>>>>>>>>> > 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
>>>>>>>>> paul@wso2.com
>>>>>>>>>
>>>>>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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: lahirus@wso2.com 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: lahirus@wso2.com 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

Re: Can we use Javasysmon library in Stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
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 <is...@wso2.com> wrote:

> Hi
>
>
> On Fri, Feb 21, 2014 at 8:54 AM, Lahiru Sandaruwan <la...@wso2.com>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 <is...@wso2.com> wrote:
>>
>>>
>>>
>>>
>>> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <is...@wso2.com> wrote:
>>>>
>>>>>
>>>>>
>>>>>
>>>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <sanjiva@wso2.com
>>>>> > 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 <
>>>>>> nirmal070125@gmail.com> wrote:
>>>>>>
>>>>>>> Thanks for confirming Paul!
>>>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>>>>
>>>>>>>> That license is a standard BSD license and is compatible with
>>>>>>>> Apache.
>>>>>>>>
>>>>>>>> Paul
>>>>>>>>
>>>>>>>>
>>>>>>>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>>>>>>>> paul@wso2.com
>>>>>>>>
>>>>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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: lahirus@wso2.com 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/

Re: Can we use Javasysmon library in Stratos?

Posted by Isuru Perera <is...@wso2.com>.
Hi


On Fri, Feb 21, 2014 at 8:54 AM, Lahiru Sandaruwan <la...@wso2.com> 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 <is...@wso2.com> wrote:
>
>>
>>
>>
>> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <is...@wso2.com> wrote:
>>>
>>>>
>>>>
>>>>
>>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <
>>>>> nirmal070125@gmail.com> wrote:
>>>>>
>>>>>> Thanks for confirming Paul!
>>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>>>
>>>>>>> That license is a standard BSD license and is compatible with Apache.
>>>>>>>
>>>>>>> Paul
>>>>>>>
>>>>>>>
>>>>>>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>>>>>>> paul@wso2.com
>>>>>>>
>>>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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: lahirus@wso2.com 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

Re: Can we use Javasysmon library in Stratos?

Posted by Lahiru Sandaruwan <la...@wso2.com>.
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.

Thanks.


On Thu, Feb 20, 2014 at 8:17 PM, Isuru Perera <is...@wso2.com> wrote:

>
>
>
> On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <is...@wso2.com> wrote:
>>
>>>
>>>
>>>
>>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <
>>>> nirmal070125@gmail.com> wrote:
>>>>
>>>>> Thanks for confirming Paul!
>>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>>
>>>>>> That license is a standard BSD license and is compatible with Apache.
>>>>>>
>>>>>> Paul
>>>>>>
>>>>>>
>>>>>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>>>>>> paul@wso2.com
>>>>>>
>>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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: lahirus@wso2.com 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

Re: Can we use Javasysmon library in Stratos?

Posted by Isuru Perera <is...@wso2.com>.
On Fri, Feb 21, 2014 at 8:35 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <is...@wso2.com> wrote:
>
>>
>>
>>
>> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <nirmal070125@gmail.com
>>> > wrote:
>>>
>>>> Thanks for confirming Paul!
>>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>>
>>>>> That license is a standard BSD license and is compatible with Apache.
>>>>>
>>>>> Paul
>>>>>
>>>>>
>>>>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>>>>> paul@wso2.com
>>>>>
>>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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

Re: Can we use Javasysmon library in Stratos?

Posted by Sanjiva Weerawarana <sa...@wso2.com>.
Yes I knew that Isuru :-). 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.

Sanjiva.


On Fri, Feb 21, 2014 at 8:28 AM, Isuru Perera <is...@wso2.com> wrote:

>
>
>
> On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <ni...@gmail.com>wrote:
>>
>>> Thanks for confirming Paul!
>>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>>
>>>> That license is a standard BSD license and is compatible with Apache.
>>>>
>>>> Paul
>>>>
>>>>
>>>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>>>> paul@wso2.com
>>>>
>>>> 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: sanjiva@wso2.com; 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: sanjiva@wso2.com; 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

Re: Can we use Javasysmon library in Stratos?

Posted by Isuru Perera <is...@wso2.com>.
On Fri, Feb 21, 2014 at 8:17 AM, Sanjiva Weerawarana <sa...@wso2.com>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 <ni...@gmail.com>wrote:
>
>> Thanks for confirming Paul!
>> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>>
>>> That license is a standard BSD license and is compatible with Apache.
>>>
>>> Paul
>>>
>>>
>>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>>> paul@wso2.com
>>>
>>> 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: sanjiva@wso2.com; 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

Re: Can we use Javasysmon library in Stratos?

Posted by Sanjiva Weerawarana <sa...@wso2.com>.
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.

Sanjiva.


On Fri, Feb 21, 2014 at 7:12 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Thanks for confirming Paul!
> On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:
>
>> That license is a standard BSD license and is compatible with Apache.
>>
>> Paul
>>
>>
>> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com>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
>> paul@wso2.com
>>
>> 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: sanjiva@wso2.com; 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

Re: Can we use Javasysmon library in Stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks for confirming Paul!
On Feb 21, 2014 3:10 AM, "Paul Fremantle" <pa...@wso2.com> wrote:

> That license is a standard BSD license and is compatible with Apache.
>
> Paul
>
>
> On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com> 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
> paul@wso2.com
>
> 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.
>

Re: Can we use Javasysmon library in Stratos?

Posted by Paul Fremantle <pa...@wso2.com>.
That license is a standard BSD license and is compatible with Apache.

Paul


On 20 February 2014 19:24, Nirmal Fernando <ni...@gmail.com> 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
paul@wso2.com

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.

Re: Can we use Javasysmon library in Stratos?

Posted by Isuru Perera <is...@wso2.com>.
On Fri, Feb 21, 2014 at 8:52 AM, Nirmal Fernando <ni...@gmail.com>wrote:

> Lahiru, still it needs Java7. That of course community has to agree.
>
Well, I don't see any problem with that.

>
>
> On Fri, Feb 21, 2014 at 8:47 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>> Hi Niramal,
>>
>>
>>
>>
>> On Thu, Feb 20, 2014 at 6:41 PM, Nirmal Fernando <ni...@gmail.com>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" <la...@wso2.com> 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 <
>>> nirmal070125@gmail.com> 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: lahirus@wso2.com 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: lahirus@wso2.com 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/
>



-- 
Isuru Perera
Senior Software Engineer | WSO2, Inc. | http://wso2.com/
Lean . Enterprise . Middleware

about.me/chrishantha

Re: Can we use Javasysmon library in Stratos?

Posted by Lahiru Sandaruwan <la...@wso2.com>.
On Thu, Feb 20, 2014 at 8:22 PM, Nirmal Fernando <ni...@gmail.com>wrote:

> Lahiru, still it needs Java7. That of course community has to agree.
>

Agree, we have see if there are objections.

>
>
> On Fri, Feb 21, 2014 at 8:47 AM, Lahiru Sandaruwan <la...@wso2.com>wrote:
>
>> Hi Niramal,
>>
>>
>>
>>
>> On Thu, Feb 20, 2014 at 6:41 PM, Nirmal Fernando <ni...@gmail.com>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" <la...@wso2.com> 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 <
>>> nirmal070125@gmail.com> 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: lahirus@wso2.com 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: lahirus@wso2.com 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/
>



-- 
--
Lahiru Sandaruwan
Software Engineer,
Platform Technologies,
WSO2 Inc., http://wso2.com
lean.enterprise.middleware

email: lahirus@wso2.com 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

Re: Can we use Javasysmon library in Stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
Lahiru, still it needs Java7. That of course community has to agree.


On Fri, Feb 21, 2014 at 8:47 AM, Lahiru Sandaruwan <la...@wso2.com> wrote:

> Hi Niramal,
>
>
>
>
> On Thu, Feb 20, 2014 at 6:41 PM, Nirmal Fernando <ni...@gmail.com>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" <la...@wso2.com> 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 <
>> nirmal070125@gmail.com> 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: lahirus@wso2.com 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: lahirus@wso2.com 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/

Re: Can we use Javasysmon library in Stratos?

Posted by Lahiru Sandaruwan <la...@wso2.com>.
Hi Niramal,




On Thu, Feb 20, 2014 at 6:41 PM, Nirmal Fernando <ni...@gmail.com>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" <la...@wso2.com> 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 <
> nirmal070125@gmail.com> 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: lahirus@wso2.com 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: lahirus@wso2.com 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

Re: Can we use Javasysmon library in Stratos?

Posted by Nirmal Fernando <ni...@gmail.com>.
Thanks Lahiru, Yes I also found Sigar but it has several issues like not
having in maven etc.

And OperatingSystemMXBean is a Sun implementation if I am not mistaken.

On Feb 21, 2014 1:57 AM, "Lahiru Sandaruwan" <la...@wso2.com> 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 <ni...@gmail.com>
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: lahirus@wso2.com 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
>

Re: Can we use Javasysmon library in Stratos?

Posted by Lahiru Sandaruwan <la...@wso2.com>.
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<http://docs.oracle.com/javase/7/docs/jre/api/management/extension/com/sun/management/OperatingSystemMXBean.html>
.

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 <ni...@gmail.com>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: lahirus@wso2.com 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