criteo / babar

Profiler for large-scale distributed java applications (Spark, Scalding, MapReduce, Hive,...) on YARN.
Apache License 2.0
125 stars 29 forks source link

Use ProcFS for memory and cpu usage on compatible OSes #7

Closed BenoitHanotte closed 6 years ago

BenoitHanotte commented 6 years ago

Currently Babar relies on the JVM intrumentation to get Memory and CPU data through the provided MXBean interface. However this brings the following limitations:

This tickets proposes to use, on compatible systems, the proc filesystem to get for the process subtree (JVM and all sub-processed):

The proc man page is available at http://man7.org/linux/man-pages/man5/proc.5.html

BenoitHanotte commented 6 years ago

Done with ProcFSProfiler