Arvind,

RAM/CPU usage will be consistently low using ZeroMQ using either java or
python (both can run on linux & windows).

The memory footprint of the process really depends on the implementation.
 I know that, using python, I can serialize and compress a dictionary (aka
"unordered map") using pickle (object serializer) and zlib (for keeping
payload size small) and send it over the wire via ZeroMQ without any sort
of memory or CPU concerns.

However, I don't think that this is the right way to do this kind of
performance monitoring.  Both Windoze and Linux variants have tools or
mechanisms built-in to the OS to do performance monitoring on a process.
 For windows, you would want to use
WMI<http://technet.microsoft.com/en-us/library/cc767879.aspx>.
 For Linux, you'd want to use command line tools that are
available<http://www.cyberciti.biz/tips/top-linux-monitoring-tools.html>
.

What's the real problem you're trying to solve here?

-- Sean


On Wed, Apr 3, 2013 at 2:11 PM, Arvind Creatrix IT Soft <
[email protected]> wrote:

>
> Hi
>
> I wish to create a simple process that basically measures the CPU/RAM
> utilisated by a running process on that server, and sends it via ZeroMQ.
> With the multiple language bindings available for ZeroMQ, I wish to use
> that language(for utilising ZeroMQ)- that uses the least possible RAM. And
> ideally I can compile/create the ready to run process on my machine, and
> then run it on any OS(including Linux—> Ubuntu/CentOS and Windows) and for
> different types of RAM/CPU configurations. I understand that ZeroMQ core
> will have to be installed/made available for use by my process.
>
> Any insights intot
> Yours sincerely,
> Arvind,
> Creatrix IT Soft.
>
>  *From:* Felipe Cruz <[email protected]>
> *Sent:* Thursday, April 4, 2013 2:34 AM
> *To:* ZeroMQ development list <[email protected]>
> *Subject:* Re: [zeromq-dev] czmq - Timer returning -1 don't finish zloop
>
>  I got tricked by an old revision.. this is already fixed:
> https://github.com/zeromq/czmq/issues/113
>
> regards,
>
>
> 2013/4/3 Pieter Hintjens <[email protected]>
>
>> On Mon, Apr 1, 2013 at 6:38 PM, Felipe Cruz <[email protected]>
>> wrote:
>>
>> > This is not entirely true.. Timers returning -1 don't make the loop to
>> > return. I have a small patch for this issue but I'm not sure if we need
>> a
>> > minor fix in the docs or if we really want what's in the docs.
>>
>> I think we want what's in the docs, it's sensible that when an event
>> handler, of any sort, signals an error, that the reactor ends.
>>
>> -Pieter
>> _______________________________________________
>> zeromq-dev mailing list
>> [email protected]
>> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>>
>
>
>
> --
>  Felipe Cruz
> http://about.me/felipecruz
>
> ------------------------------
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>
> _______________________________________________
> zeromq-dev mailing list
> [email protected]
> http://lists.zeromq.org/mailman/listinfo/zeromq-dev
>
>


-- 
Sean | (206) 962-7954
_______________________________________________
zeromq-dev mailing list
[email protected]
http://lists.zeromq.org/mailman/listinfo/zeromq-dev

Reply via email to