Yourkit not picking up system CPU usage

Questions about YourKit Java Profiler
Post Reply
craigraw
Posts: 1
Joined: Thu Sep 30, 2021 8:31 am

Yourkit not picking up system CPU usage

Post by craigraw »

Hi,

Apologies if this has been asked before - I could not find any reference to a similar question.

I have an application that most of the time uses very little CPU. Occasionally however, and it seems to happen more when the process has been running for a day or so, the CPU usage climbs to around 20% of the system according to top and OSX Activity Monitor.

When I attach Yourkit Java Profiler (2021.3) to this application however, the CPU telemetry shows very low CPU usage (effectively 0%). Similarly, I can find nothing useful when profiling. All the memory charts are flat - no noticeable GC activity is going on.

What could be the causes of this mismatch?

Thanks,
Craig
Anton Katilin
Posts: 6172
Joined: Wed Aug 11, 2004 8:37 am

Re: Yourkit not picking up system CPU usage

Post by Anton Katilin »

Hi Craig,

Could you please provide the problematic snapshot file and the profiler agent log file ~./yjp/log/<session name>-<pid>.log to [email protected]

Best regards,
Anton
Post Reply