Add file descriptor info.

This commit is contained in:
Huxing Zhang authored and GitHub committed 2018-09-22 16:11:42 +08:00
commit 2d6f9c6b01
3 files changed
+45 -5

No files matched your search

+15 -2
View File
@@ -84,8 +84,14 @@ $ jvm
THREAD COUNT 16
DAEMON-COUNT 10
LIVE-COUNT 18
PEAK-COUNT 18
STARTED-COUNT 19
DEADLOCK-COUNT 0
FILE-DESCRIPTOR
MAX-FILE-DESCRIPTOR-COUNT 10240
OPEN-FILE-DESCRIPTOR-COUNT 648
Affect cost in 2 ms.
```
@@ -93,5 +99,12 @@ Affect cost in 2 ms.
* COUNT: the count of active threads
* DAEMON-COUNT: the count of active daemon threads
* LIVE-COUNT: the maximum count of the live threads since JVM starts
* PEAK-COUNT: the maximum count of the live threads since JVM starts
* STARTED-COUNT: the total count of the created threads since JVM starts
* DEADLOCK-COUNT: the count of deadlock threads
### fileDescriptor-related
* MAX-FILE-DESCRIPTOR-COUNT:the count of max file descriptor JVM process can open
* OPEN-FILE-DESCRIPTOR-COUNT:the current count of file descriptor JVM process open
+13 -2
View File
@@ -87,6 +87,11 @@ $ jvm
PEAK-COUNT 18
STARTED-COUNT 19
DEADLOCK-COUNT 0
FILE-DESCRIPTOR
MAX-FILE-DESCRIPTOR-COUNT 10240
OPEN-FILE-DESCRIPTOR-COUNT 648
Affect cost in 2 ms.
```
@@ -95,5 +100,11 @@ Affect cost in 2 ms.
* COUNT: JVM当前活跃的线程数
* DAEMON-COUNT: JVM当前活跃的守护线程数
* LIVE-COUNT: 从JVM启动开始曾经活着的最大线程数
* STARTED-COUNT: 从jvm启动开始总共启动过的线程次数
* PEAK-COUNT: 从JVM启动开始曾经活着的最大线程数
* STARTED-COUNT: 从JVM启动开始总共启动过的线程次数
* DEADLOCK-COUNT: JVM当前死锁的线程数
### 文件描述符相关
* MAX-FILE-DESCRIPTOR-COUNT:JVM进程最大可以打开的文件描述符数
* OPEN-FILE-DESCRIPTOR-COUNT:JVM当前打开的文件描述符数