How to get Mesos Agents Framework Executor Memory

后端 未结 2 1119
梦毁少年i
梦毁少年i 2021-01-28 00:37

Inside Mesos Web UI I can see memory usage of my Spark executors in a table

Agents -> Framework -> Executors

There is a table listing all exe

相关标签:
2条回答
  • 2021-01-28 01:00

    Found the answer myself. For each worker/agent on which executors may run, direct access to memory info is here:

    http://IP_of_worker1:5051/slave(1)/monitor/statistics
    http://IP_of_worker2:5051/slave(1)/monitor/statistics
    etc

    The content is in the form of a json and framework_id allows to find the related executors and their memory consumption, cpu usage etc what is given in the table.

    0 讨论(0)
  • 2021-01-28 01:01

    The memory usage of executors in fact is related with mesos task, means for every task how many memory the executors will consume.

    If above is what you need, you can use following rest api to get a json and then parse the memory used from it.

    http://mesos_ip:5050/master/tasks

    FYI.

    0 讨论(0)
提交回复
热议问题