Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

Can pfmon monitor Java programs?

Java monitor pfmon Programs
0
Posted

Can pfmon monitor Java programs?

0

Yes, it can. However be aware that pfmon-2.0 only monitors the initial thread which most of the time is not the most interesting thread. With pfmon-3.0 you can monitor multiple processes/threads at the same time using any of the –follow-* options. Those options are not turned on by default. • Can pfmon monitor multithreaded programs? It depends on the version. Pfmon-2.0 can only monitor the first (master) thread. But pfmon-3.0 can monitor multi-threaded programs when using the –follow-pthread option. This option is not turned on by default • Is there a workaround to monitor multithreaded programs? With pfmon-2.0, one alternative is to use a system wide session. The other choice is to go with pfmon-3.0 but then you need to use a 2.6-based Linux kernel. • Can pfmon monitor more than 4 events at a time? Pfmon is only limited by the number of physical counters of the host PMU. Current implementations only have 4 counters. • Is it possible to multiplex events using pfmon? No, pfmon does n

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123