at the moment we are having an issue with the cpu usage of a program and therefore we want to take a deep-dive into the java code. Until now we were trying to find with several dashlets like purepath, remoting, methods hotspot which call of the a java programm uses most of cpu time.
Unfortunately we are actually only able to see the methods.
Is there a possibility in DynaTrace Apmon to see what is running inside the method more detailed?
thank you in advance.Regards,
Answer by christian w. ·
thank you for the answer. I already tried that but those information do not help for my further investigation because i need to know more detailed what exactly inside the method/class uses how much CPU time.
do you have another hint? thanks in advance.
Answer by Sebastian K. ·
Make CPU sampling during CPU spike. There you will se what methods are top CPU consumers. Then you can make sensors on on them and assign them to proper agent group. After Hot Sensor Placement on java agents you need, you will be able to see those methods on purepaths as well for deeper investigation.
To make thing easier for you. Go to System Profile => Sensors. Create new sensor group (one per each agent group if code between them is different). Then place this sensor group on proper agent groups (click through all of them => sensor placement and there you will have option to add them). After this make CPU sampling on each agent that is affected (one per agent group would be fine). Then find methods that has top values on cpu time there. Right click and there you will have option to add them as custom sensor. Pick proper sensor group and that's all. After this operation you should right click on agents that had changed configuration and execute Hot Sensor Placement which will add new configuration on the fly.
Can I set purepath age ? 3 Answers
APPMon Server kernel Panic 1 Answer