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

embedded/2024/12/22 19:57:11/

在这里插入图片描述

文章目录

二、命令列表

jvm_3">2.1 jvm相关命令

jvmJVM_4">2.1.3 jvm查看当前JVM的信息

基础语法
jvm

[arthas@18139]$ jvmRUNTIME                                                                                                                                                                                                                                
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------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                                                                                                                                                               -Xmn1152mCLASS-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]$  

http://www.ppmy.cn/embedded/114614.html

相关文章

定时重启Windows服务

文章目录 引言I 定时重启Windows服务II Windows服务管理使用net/sc命令结合taskkill进行服务的重启【推荐】通过命令行杀掉进程使用程序自带脚本管理服务知识扩展Windows7显示文件扩展通过进行名称查看进程号引言 基于任务计划程序,实现定时重启Windows服务。 核心:编写重启…

如何编写一个爬虫以实时获取某平台商品价格

编写一个爬虫来实时获取某个平台的商品价格是一项实用的任务,可以帮助用户了解市场动态或监控价格变化。以下是一个简单的爬虫示例,使用 Python 的 requests 和 BeautifulSoup 库来抓取商品价格。为了演示,我将以一个假设的电商网站为例&…

Android数据序列化总结

Android数据序列化总结 什么是序列化 序列化 (Serialization)将对象的状态信息转换为可以存储或传输的形式的过程。在序列化期间,对象将其当前状态写入到临时或持久性存储区。以后,可以通过从存储区中读取或反序列化对象的状态,重新创建该对…

SpringBoot Admin调整类的日志级别

进入 SpringBoot Admin ,通过服务名称, 找到服务后。 点击 “日志” – “日志配置” ,输入类名,即可调整 这个类的日志级别。

2024华为杯研赛E题保姆级教程思路分析

E题题目:高速公路应急车道紧急启用模型 今年的E题设计到图像/视频处理,实际上,E题的难度相对来说较低,大家不用畏惧视频的处理,被这个吓到。实际上,这个不难,解决了视频的处理问题,…

数据结构day1

1、p 和 "hello,world"存储在内存哪个区域? int main() { char *p "hello,world"; return 0; } p在栈区,因为p是一个局部变量。"hello,world"在只读区域(.ro段),因为"hello,world…

Linux环境基础开发工具---vim

1.快速的介绍一下vim vim是一款多模式的编辑器,里面有很多子命令,来实现代码编写操作。 2.vim的模式 vim一共有三种模式:底行模式,命令模式,插入模式。 2.1vim模式之间的切换 2.2 谈论常见的模式---命令模式&#xf…

弃置区原因

线性卷积,不用担心滤波器周期化的情况。圆周卷积在一周期内,一定有所有的点,所以信号进来的时候,剩下的信号一定在周期内,导致卷积结果不正确。 补零的圆周卷积就是为了,信号进来的时候,让其他的…