Skip to content

jstat

My JVM Memory Analyzes Toolkit

One of the most common errors while running an application is “out of memory”. And Java is no different besides errors being named exceptions. The exact exception name you might have encountered is: And, in most cases, it is related to Java heap. I will go through a few reminders on what Java heap is. How it works and how… 

Defining Custom Monitoring Metric in Zabbix

In this blog, we will see how to add custom monitoring metric into Zabbix and, more precisely, get Java Virtual Machine (JVM) garbage collector heap statics. jstat OpenJDK includes an interesting tool to monitor a JVM: jstat. Let’s see what we have when running it: I am providing two arguments. -gc to get garbage-collected heap statistics and the JVM PID.…