文章目录
- 二、命令列表
-
- [2.1 jvm相关命令](#2.1 jvm相关命令)
-
- [2.1.3 jvm(查看当前JVM的信息)](#2.1.3 jvm(查看当前JVM的信息))
二、命令列表
2.1 jvm相关命令
2.1.3 jvm(查看当前JVM的信息)
基础语法
:jvm
java
[arthas@18139]$ jvm
RUNTIME
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MACHINE-NAME 18139@localhost.localdomain
JVM-START-TIME 2024-09-12 09:54:18
MANAGEMENT-SPEC-VERSION 1.2
SPEC-NAME Java Virtual Machine Specification
SPEC-VENDOR Oracle Corporation
SPEC-VERSION 1.8
VM-NAME Java HotSpot(TM) 64-Bit Server VM
VM-VENDOR Oracle Corporation
VM-VERSION 25.121-b13
INPUT-ARGUMENTS -Xmx3g
-Xms3g
-Xmn1152m
CLASS-PATH .:/home/ems/ems_eam/../:/home/ems/ems_eam/lib/spring-webmvc-4.2.3.RELEASE.jar
BOOT-CLASS-PATH /home/ems/3rdparty/java/jre/lib/resources.jar:/home/ems/3rdparty/java/jre/lib/rt.jar:/home/ems/3rdparty/java/jre/lib/sunrsasign.jar:/home/ems/3rdparty/java/jre/lib/
jsse.jar:/home/ems/3rdparty/java/jre/lib/jce.jar:/home/ems/3rdparty/java/jre/lib/charsets.jar:/home/ems/3rdparty/java/jre/lib/jfr.jar:/home/ems/3rdparty/java/jre/cl
asses
LIBRARY-PATH /home/ems/ems_eam/lib
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CLASS-LOADING
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
LOADED-CLASS-COUNT 17497
TOTAL-LOADED-CLASS-COUNT 17497
UNLOADED-CLASS-COUNT 0
IS-VERBOSE false
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COMPILATION
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
NAME HotSpot 64-Bit Tiered Compilers
TOTAL-COMPILE-TIME 138561(ms)
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
GARBAGE-COLLECTORS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ParNew 38/1969(ms)
[count/time]
ConcurrentMarkSweep 3/313(ms)
[count/time]
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MEMORY-MANAGERS
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
CodeCacheManager Code Cache
Metaspace Manager Metaspace
Compressed Class Space
ParNew Par Eden Space
Par Survivor Space
ConcurrentMarkSweep Par Eden Space
Par Survivor Space
CMS Old Gen
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MEMORY
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
HEAP-MEMORY-USAGE 2919235584(2.7 GiB)/3221225472(3.0 GiB)/2919235584(2.7 GiB)/561145840(535.2 MiB)
[committed/init/max/used]
NO-HEAP-MEMORY-USAGE 192172032(183.3 MiB)/2555904(2.4 MiB)/-1(-1 B)/187781984(179.1 MiB)
[committed/init/max/used]
PENDING-FINALIZE-COUNT 0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OPERATING-SYSTEM
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
OS Linux
ARCH amd64
PROCESSORS-COUNT 8
LOAD-AVERAGE 0.07
VERSION 3.10.0-1160.el7.x86_64
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
THREAD
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
COUNT 286
DAEMON-COUNT 38
PEAK-COUNT 295
STARTED-COUNT 5190
DEADLOCK-COUNT 0
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
FILE-DESCRIPTOR
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
MAX-FILE-DESCRIPTOR-COUNT 10240
OPEN-FILE-DESCRIPTOR-COUNT 913
Affect(row-cnt:0) cost in 15 ms.
[arthas@18139]$