利用ManageEngine Applications Manager Java Runtime 監(jiān)控功能,可以監(jiān)控Java平臺及運(yùn)行的應(yīng)用程序。你可以監(jiān)控JVM的性能 和 線程。Applications Manager支持 Sun JVM, IBM JVM以及Oracle JRockit JVM。
你可以對各種屬性配置閾值,當(dāng)閾值被超越時(shí),系統(tǒng)自動(dòng)郵件、短信、SNMP Trap告警通知,或執(zhí)行自定義腳本或MBean操作。除了可用性和響應(yīng)時(shí)間外,Java Runtime還可以監(jiān)控以下指標(biāo):
| 相關(guān)監(jiān)控功能 | |
|---|---|
| 進(jìn)程內(nèi)存參數(shù) | 描述 |
|---|---|
| Eden空間 (堆內(nèi)存) | 最初為大多數(shù)對象分配內(nèi)存的池 |
| 幸存空間 (堆內(nèi)存) | 在eden空間的垃圾收集之后池中幸存的對象 |
| Tenured Generation (堆內(nèi)存) | 在幸存空間中存在了一段時(shí)間的池中包含的對象 | Permanent Generation (非堆內(nèi)存) | 保存虛擬機(jī)本身的所有反射數(shù)據(jù),如類和方法對象。利用使用類數(shù)據(jù)共享的虛擬機(jī),此內(nèi)存可分為只讀和讀寫區(qū)域。 |
| 代碼緩存 (非堆內(nèi)存) | 用于編譯和存儲(chǔ)本機(jī)代碼的內(nèi)存。 |
| 線程參數(shù) | |
| 活動(dòng)線程 | 當(dāng)前運(yùn)行的活動(dòng)線程數(shù) |
| 守護(hù)線程 | 當(dāng)前運(yùn)行的后臺程序線程數(shù) |
| 可運(yùn)行線程 | 在Java虛擬機(jī)中執(zhí)行的線程 |
| 被阻塞線程 | 被阻止并等待監(jiān)視器鎖的線程 |
| 等待中的線程 | 無限期等待另一線程執(zhí)行特定動(dòng)作的線程 |
| 限時(shí)等待的線程 | 該線程等待其他線程執(zhí)行動(dòng)作,并且等待了指定的時(shí)間 |
| 開始的所有線程 | Java虛擬機(jī)開啟,已創(chuàng)建并開始的素有線程數(shù)。 |
| Peak Threads | Peak live thread count since the Java virtual machine started or peak was reset |
| Deadlocked | Number of threads that are in deadlock waiting to acquire object monitors |
| 還可以監(jiān)控和分析Java應(yīng)用程序的線程堆棧。 | |
| 虛擬內(nèi)存參數(shù) | |
| Classes loaded | Number of classes loaded |
| Classes Unloaded | Number of classes unloaded |
| GC time | Time taken to perform garbage collection |
| Compile time | Time spent in just-in-time (JIT) compilation |
| Max file descriptor | Maximum permissible open file descriptor. Available only for UNIX. |
| Open file descriptor | Current count of open file descriptors. Available only for UNIX. |
| 主內(nèi)存參數(shù) | |
| Total Physical Memory | Total amount of physical memory in Megabytes |
| Free Physical Memory | The amount of free physical memory in Megabytes |
| Total Swap Space | Total amount of swap space in Megabytes |
| Committed Virtual Memory | The amount of virtual memory that is guaranteed to be available to the running process in Megabytes |
| 垃圾收集器 | |
| Time Spent/Min | Total number of collections that have occurred |
| Collections/Min | Approximate collection elapsed time in milliseconds |
| Thread Count | Number of threads used for Garbage Collector |
| Last Start Time | Start time of this GC |
| Last End Time | End time of this GC |
| Memory usage before GC | Memory usage of all memory pools at the beginning of this GC |
| Memory usage after GC | Memory usage of all memory pools at the end of this GC |
| 配置 | |
| Uptime | The uptime of the Java virtual machine |
| Java Virtual Machine | The Java virtual machine implementation name |
| Vendor | The Java virtual machine implementation vendor |
| Process ID | The process identifier is a number used by some operating system kernels to uniquely identify a process |
| Name | The name representing the running Java virtual machine |
| VM arguments | The input arguments passed to the Java virtual machine which does not include the arguments to the main method |
| Class path | The Java class path that is used by the system class loader to search for class files |
| Library path | The Java library path |
| Library path | The boot class path that is used by the bootstrap class loader to search for class files |
| JIT compiler | The name of the Just-in-time (JIT) compiler |
| Objects Pending for finalization | The approximate number of objects for which finalization is pending |
| Operating System | The name of the operating system |
| Architecture | The operating system architecture |
| Processors | The number of processors available to the Java virtual machine |
| You can also use Applications Manager to monitor JVM Performance and capacity planning. | |
Java Runtime監(jiān)控支持JRE 1.5及以上版本。更多信息,請參閱Java Runtime監(jiān)控在線幫助。