Hi Numan,

Sorry for the delay.

I did mine by implemeting a shell script that does the following:

1) Detects pid of the python controller;
2) Initiate a variable for printing the time, I called 't';
2) while True; do
    2.1) get CPU and MEMO info running a shell command;
    2.2) print t (in seconds); CPU and MEMO;
    2.3) sleep 1;
    2.3) increment t (t++);

I hope this can give some light on your issue.


Regards,

--
Túlio Albuquerque Pascoal
<https://br.linkedin.com/pub/t%C3%BAlio-pascoal/a0/2a9/b69>
<http://lattes.cnpq.br/3973060880564786>

On 28 January 2017 at 11:53, munther numan <[email protected]> wrote:

> Dear Túlio Pascoal
> I hope you're fine and well,
>
> Thank you very much for your reply.
>
> Actually I do not have skills to deal with linux operating system and
> script programming.
>
> I will try to search in internet maybe i can find anything help me .
>
> By the way how can I do it ?
>
> Best Regards,
>
> Munther Numan
> Master Student
> UPM
>
> On Jan 27, 2017 11:07 PM, "Túlio Pascoal" <[email protected]> wrote:
>
>> Hi,
>>
>> I did it by implementing a script capable of tracking CPU e MEM
>> information from the python file running my Ryu Controller. I think you
>> should try it.
>>
>> I hope it can help you,
>>
>>
>> Best Regards,
>>
>> --
>> Túlio Albuquerque Pascoal
>> <https://br.linkedin.com/pub/t%C3%BAlio-pascoal/a0/2a9/b69>
>> <http://lattes.cnpq.br/3973060880564786>
>>
>> On 27 January 2017 at 05:45, Munther Numan <[email protected]> wrote:
>>
>>> Dear colleague,
>>>
>>> I hope you're fine and well ,
>>>
>>>
>>>
>>> I would like you if you have any method to calculate the CPU usage by
>>> ryu controller , Actually I am install ryu inside mininet VM and I did some
>>> experiment and I am just need to show how many CPU usage by controller in
>>> the experiment time ?
>>>
>>>
>>>
>>> Thank you ..
>>>
>>> Best Regards
>>>
>>> Munther Numan
>>> Master Student
>>> Faculty of Engineering
>>> University Putra Malaysia
>>>
>>>
>>>
>>>
>>>
>>> ------------------------------------------------------------
>>> ------------------
>>> Check out the vibrant tech community on one of the world's most
>>> engaging tech sites, SlashDot.org! http://sdm.link/slashdot
>>> _______________________________________________
>>> Ryu-devel mailing list
>>> [email protected]
>>> https://lists.sourceforge.net/lists/listinfo/ryu-devel
>>>
>>>
>>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Ryu-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ryu-devel

Reply via email to