Arthas jvm(查看当前JVM的信息)

文章目录

  • 二、命令列表
    • [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]$  
相关推荐
yuanbenshidiaos7 小时前
c++---------数据类型
java·jvm·c++
java1234_小锋10 小时前
JVM对象分配内存如何保证线程安全?
jvm
40岁的系统架构师13 小时前
1 JVM JDK JRE之间的区别以及使用字节码的好处
java·jvm·python
寻找沙漠的人14 小时前
理解JVM
java·jvm·java-ee
我叫啥都行14 小时前
计算机基础复习12.22
java·jvm·redis·后端·mysql
bufanjun00117 小时前
JUC并发工具---ThreadLocal
java·jvm·面试·并发·并发基础
东阳马生架构1 天前
JVM简介—1.Java内存区域
jvm
工程师老罗1 天前
Android笔试面试题AI答之SQLite(2)
android·jvm·sqlite
Qzer_4071 天前
jvm字节码中方法的结构
jvm
奇偶变不变2 天前
RTOS之事件集
java·linux·jvm·单片机·算法