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]$  
相关推荐
鱼跃鹰飞6 小时前
大厂面试真题-简单说说线程池接到新任务之后的操作流程
java·jvm·面试
王佑辉7 小时前
【jvm】Major GC
jvm
阿维的博客日记7 小时前
jvm学习笔记-轻量级锁内存模型
jvm·cas·轻量级锁
曹申阳10 小时前
2. JVM的架构模型和生命周期
jvm·架构
琪露诺大湿11 小时前
JavaEE-多线程初阶(4)
java·开发语言·jvm·java-ee·基础·1024程序员节·原神
王佑辉14 小时前
【jvm】Full GC
jvm
九鼎科技-Leo14 小时前
C# 内存管理与对象生命周期在面向对象设计中的重要性
jvm·c#
王佑辉1 天前
【jvm】堆空间分代思想
jvm
为啥不能修改昵称啊1 天前
静态数据区,堆,栈
java·jvm·算法
救苦救难韩天尊2 天前
《JVM第7课》堆区
jvm