Can pfmon monitor Java programs?
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