Thanks Ben. I will see if I can incorporate this in my reporting GUI. Do you know how long lived these are stats are?
Ideally, I am thinking it would be nice to return basic usage stats maybe via the TaskStatus so that I can capture them when they are returned when the TASK_FINISHED event is fired. I capture stats in my local app database as I track the events per job. Thanks, Sam Taha http://www.grandlogic.com On Fri, Oct 18, 2013 at 1:34 PM, Benjamin Mahler <benjamin.mah...@gmail.com>wrote: > 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 <vinodk...@gmail.com> 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 <taha...@gmail.com> wrote: >> >>> https://issues.apache.org/jira/browse/MESOS-581 >>> >>> >>> On Thu, Oct 17, 2013 at 3:05 PM, Sam Taha <taha...@gmail.com> wrote: >>> >>>> Looks like it is not implemented >>>> >>>> >>>> >>>> On Thu, Oct 17, 2013 at 7:55 AM, Sam Taha <taha...@gmail.com> 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 >>>>> >>>> >>>> >>> >> >