Hi Spark dev Map Reduce can be used ResourceCalculatorProcessTree in Task.java to get peakCPUUTilization.
*The same is done at Yarn node manager level in class * ContainersMonitorsImpl However , I am not able to find any way to get peakCPUUtilization of the executor in spark . Please help me on the same.