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]$  
相关推荐
阿龟在奔跑7 小时前
引用类型的局部变量线程安全问题分析——以多线程对方法局部变量List类型对象实例的add、remove操作为例
java·jvm·安全·list
王佑辉8 小时前
【jvm】方法区常用参数有哪些
jvm
王佑辉8 小时前
【jvm】HotSpot中方法区的演进
jvm
Domain-zhuo8 小时前
什么是JavaScript原型链?
开发语言·前端·javascript·jvm·ecmascript·原型模式
Theodore_10221 天前
7 设计模式原则之合成复用原则
java·开发语言·jvm·设计模式·java-ee·合成复用原则
我是苏苏1 天前
Web开发:ORM框架之使用Freesql的DbFrist封装常见功能
java·前端·jvm
天草二十六_简村人2 天前
Java语言编程,通过阿里云mongo数据库监控实现数据库的连接池优化
java·jvm·数据库·mongodb·阿里云·微服务·云计算
老码沉思录2 天前
Android开发实战班 - 数据持久化 - Room 数据库应用
android·jvm·数据库
起名字真南2 天前
【C++】深入理解 C++ 中的继承进阶:多继承、菱形继承及其解决方案
java·jvm·c++·chatgpt·aigc
偶尔。5352 天前
JVM垃圾回收算法详解
jvm