JVM! JVM! JVM!

Embed Size (px)

DESCRIPTION

Monitoring casual #6 http://www.zusaar.com/event/11447004

Text of JVM! JVM! JVM!

  • 1. J V M J V M J V M J V M J V M J V M J V M J V M J V M J V M J V M J V M Monitoring Casual #6 @hirose31
  • 2. JVMGC
  • 3. JDK jstat, jmap, jconsole http://docs.oracle.com/javase/jp/7/ technotes/tools/index.html
  • 4. jps Java
  • 5. jstat / *stat ! ! -class: -gc: Servivor, Eden, Old, Perm GC
  • 6. jmap -heap GC -histo
  • 7. jconsole
  • 8. jconsole
  • 9. jconsole
  • 10. jmc Java Mission Control jconsolejmc Flight Recorder -XX:+UnlockCommercialFeatures -XX:+FlightRecorder Eclipse
  • 11. jmc Java Mission Control
  • 12. jmc Java Mission Control
  • 13. jvisualvm Java VisualVM http://docs.oracle.com/javase/jp/7/ technotes/guides/visualvm/index.html jconsolejmc
  • 14. jvisualvm Java VisualVM
  • 15. jvisualvm Java VisualVM
  • 16. visualgc GC jvmstat http://www.oracle.com/technetwork/ java/jvmstat-142257.html
  • 17. visualgc
  • 18.
  • 19. Forecast
  • 20. GrowthForecast http://blog.nomadscafe.jp/2014/04/jstatjvmgrowthforecast.html
  • 21. CloudForecast
  • 22. CloudForecast
  • 23. CloudForecast
  • 24. CloudForecast
  • 25. CloudForecast
  • 26. CloudForecast
  • 27. CloudForecast
  • 28. CloudForecast
  • 29. CloudForecast
  • 30. CloudForecast
  • 31. CloudForecast
  • 32. CloudForecast
  • 33. CloudForecast
  • 34. Easy to use! 10 component_config: resources: - jvm::8778::Elasticsearch
  • 35. http://www.jolokia.org/ JMX-HTTP bridge: JMXHTTP JVM agentjava (>= Java SE 6) java -javaagent:/path/to/jolokia-jvm- agent.jar=port=8778,host=0.0.0.0,discoveryE nabled=false
  • 36. J V M J V M J V M J V M J V M J V M J V M J V M J V M J V M J V M J V M