Command-line Tool to find Java Heap Size and Memory Used (Linux)? - Stack Overflow
Each Java process has a pid, which you first need to find with the jps command.
Once you have the pid, you can use jstat -gc [insert-pid-here] to find statistics of the behavior of the garbage collected heap. jstat -gccapacity [insert-pid-here] will present information about memory pool generation and space capabilities.
Read full article from Command-line Tool to find Java Heap Size and Memory Used (Linux)? - Stack Overflow
No comments:
Post a Comment