Hey Sam,

You can use the json monitoring endpoint on the slave to retrieve cpu usage
information.

$ curl localhost:5051/monitor/statistics.json

Take a look at the data, this is how the webui displays cpu usage
information.


On Thu, Oct 17, 2013 at 12:10 PM, Vinod Kone <[email protected]> wrote:

> MESOS-581 is tracking cpu/mem usage of master/slave process themselves.
>
> I think what you are looking for is close to
> https://issues.apache.org/jira/browse/MESOS-62
>
>
> On Thu, Oct 17, 2013 at 12:06 PM, Sam Taha <[email protected]> wrote:
>
>> https://issues.apache.org/jira/browse/MESOS-581
>>
>>
>> On Thu, Oct 17, 2013 at 3:05 PM, Sam Taha <[email protected]> wrote:
>>
>>> Looks like it is not implemented
>>>
>>>
>>>
>>> On Thu, Oct 17, 2013 at 7:55 AM, Sam Taha <[email protected]> wrote:
>>>
>>>> Is there currently a way for a Framework to get back CPU/memory usage
>>>> statistics as a task is running or after the task has finished? From Java
>>>> API specifically?
>>>>
>>>> Thanks,
>>>> Sam Taha
>>>>
>>>> http://www.grandlogic.com
>>>>
>>>
>>>
>>
>

Reply via email to