I have several java apps running on a machine and atop only tells me CMD java
is there a way to get more information about that process, as I have +20 java
in the list and I don´t know which one is which software. I know that htop can give me more insight with the tree view, but I would like to know if something similar is possible in atop. :)
Update #1
I tried it with -c
which shows me how the app was started, but the problem is that it gets started by a wrapper which starts all apps the same way. Which means that all processes look like this:
$ java -Xms1G -Xmx2G ...
If I use htop
, I can switch to a tree view which gives me more information as I can see how the wrapper was started:
$ bash /path-which-tells-me-the-name-of-the-app/wrapper.sh
|-- java -Xms1G -Xmx2G ...
|--|--thread1
|--|--thread2
|--|--...`
According to the comments, I would like to be able to get a quick overview which of the 20 processes/apps is causing how much CPU and i/o usage.
jvmtop
,jvmmonitor
,visualvm
,jstat
,jmap
, &jstack
are pretty standard in the industry for debugging Java.azureus
command if I expand the terminal for example:/usr/lib/jvm/java-7-openjdk-amd64/bin/java -classpath /usr/lib/jni:/usr/lib/java:/usr/share/java/Azureus2.jar:/usr/share/java/log4j-1.2.jar:/usr/share
, or at any rate enough to know the process. Also, does this have to be intop
? Won'tps
do?