How to view memory usage and thread dump of Java programs from the command line?
•
Java
Are there any known command - line tools that require the JVM to view Java program memory usage and thread dumps Like headless JVM?
Solution
You can use jstat to get GC information, jstack to get stack traces, and jmap to get memory statistics and memory dumps for offline checking
The content of this article comes from the network collection of netizens. It is used as a learning reference. The copyright belongs to the original author.
THE END
二维码