Advertisement
Guest User

Untitled

a guest
Oct 14th, 2019
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.33 KB | None | 0 0
  1. #!/bin/sh
  2. #
  3. # Bases on 'ParseHeapDump.sh'
  4. #
  5.  
  6. SCRIPT_NAME=`basename "$0"`
  7.  
  8. if [ "$#" != "1" ]; then
  9. echo "Usage: ${SCRIPT_NAME} *.hprof"
  10. exit 1
  11. fi
  12.  
  13. "$(dirname -- "$0")"/MemoryAnalyzer -consolelog -application org.eclipse.mat.api.parse "$1" org.eclipse.mat.api:suspects org.eclipse.mat.api:overview org.eclipse.mat.api:top_components
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement