For some hours, I experience frequent peaks in the CPU usage of my laptop, due to a java process I don't know about, even if it is run by in my session (see firt line below).
Peaks occur irregularly (about every 5 minutes) and last about 20 seconds. I am not doing anything special when they occur (actually typing some text in TeXstudio). It continues even after having rebooted my system.
How could I narrow down the cause of this issue?
Edit: Thanks to Andrew's answer, I've found that the peaks are cause by /proc/4146/exe -> /usr/lib/jvm/java-8-openjdk-amd64/jre/bin/java
... but I'm not sure what triggers it.
c
intop
to see the full command, then use the right arrow to see more about the command. It'll probably include the name of the Java class that's being executed. You can alternatively runps aux | fgrep java
.top -o PID
(to sort processes by ID) and then hittingC
easily led me to incriminate LanguageTool for an issue previously reported. Could you please write an answer that I'd be pleased to accept?