1
0
Peter Tripp 9 жил өмнө
parent
commit
99396717c4

+ 1 - 1
pages/common/jmap.md

@@ -8,7 +8,7 @@
 
 - Print heap summary information:
 
-`java -heap {{filename.jar}} {{java_pid}}`
+`jmap -heap {{filename.jar}} {{java_pid}}`
 
 - Print histogram of heap usage by type:
 

+ 1 - 1
pages/common/jstack.md

@@ -8,7 +8,7 @@
 
 - Print mixed mode (java/c++) stack traces for all threads in a java process:
 
-`jstack {{java_pid}}`
+`jstack -m {{java_pid}}`
 
 - Print stack traces from java core dump: