When I have an issue with a C application, one of the first tools I reach for is strace, I can easily see e.g. if it is blocking on a read from a socket, or for some file I/O or whatever else. But this doesn't work on a Java application as the JVM is spinning away regardless of what the app is doing creating a lot of noise that makes strace output impossible to read. What is the equivalent tool in Java-land?


I suggest using JConsole. It will give you more insight on what's going on inside your JAVA application/JVM.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.