如何监控Glassfish内存使用情况?

如何监控Glassfish内存使用情况?,glassfish,Glassfish,有没有办法监控Glassfish(开源)服务器的内存使用情况?(最好是图形形式)一个简单的解决方案是连接到带有Jconsole的jvm服务器。有一些说明,我没有使用过,但应该很简单。一个简单的解决方案是连接到带有Jconsole的jvm服务器。有一些说明,我没有使用过,但应该很简单。您可以使用名为Munin的工具以图形方式监视资源,或者按照中的步骤操作。您可以使用名为Munin的工具以图形方式监视资源,或者按照中的步骤操作。在此处下载一份visual VM 然后将玻璃鱼安装到机器上。就像一个冠军

有没有办法监控Glassfish(开源)服务器的内存使用情况?(最好是图形形式)

一个简单的解决方案是连接到带有Jconsole的jvm服务器。有一些说明,我没有使用过,但应该很简单。

一个简单的解决方案是连接到带有Jconsole的jvm服务器。有一些说明,我没有使用过,但应该很简单。

您可以使用名为Munin的工具以图形方式监视资源,或者按照中的步骤操作。

您可以使用名为Munin的工具以图形方式监视资源,或者按照中的步骤操作。

在此处下载一份visual VM


然后将玻璃鱼安装到机器上。就像一个冠军,做你想做的事。

在这里下载一份visual VM


然后将玻璃鱼安装到机器上。它的工作原理与champ一样,完全符合您的要求。

在windows开始选项中键入jconsole

当您找到jconsole.exe时,单击它

然后在本地进程中选择与正在运行的glassfish域相关的进程

您可以从任务管理器获取流程id

当jconsole面板打开时,您将在内存选项卡中看到以下内容:

1.  Heap Memory Usage
Java takes memory from the OS. Part of this memory is called Java Heap Memory. Whenever an object is newly created it  is allocated memory from the Java Heap space and when it is garbage collected the memory occupied by this object is returned back to the OS.

2.Non Heap Memory Usage
3.Memory Pool Eden Space
4.Memory Pool Survivor Space
5.Memory Pool Tenured Gen
6.Memory Pool Code Cache
7.Memory Pool Code Gen
以下是与其解释相关的良好链接:
在windows开始选项中键入jconsole

当您找到jconsole.exe时,单击它

然后在本地进程中选择与正在运行的glassfish域相关的进程

您可以从任务管理器获取流程id

当jconsole面板打开时,您将在内存选项卡中看到以下内容:

1.  Heap Memory Usage
Java takes memory from the OS. Part of this memory is called Java Heap Memory. Whenever an object is newly created it  is allocated memory from the Java Heap space and when it is garbage collected the memory occupied by this object is returned back to the OS.

2.Non Heap Memory Usage
3.Memory Pool Eden Space
4.Memory Pool Survivor Space
5.Memory Pool Tenured Gen
6.Memory Pool Code Cache
7.Memory Pool Code Gen
以下是与其解释相关的良好链接:

请注意,它也随JDK提供。请注意,它也随JDK提供。