当前位置:网站首页>arthas-boot
arthas-boot
2022-06-09 05:31:00 【Young--】
为了避免端口占用问题(每次使用完arthas必需要重启被监听过的java服务)
使用下面命令杀掉所有java进程
pkill -9 java
然后启动arthas
如图输入编号选择需要监听的服务
例如 上面 8
[8]: 64975 com.hq.cloud.BusinessServiceSysApplication
然后执行dashboard -i=1000,然后你执行代码,找到线程id 例如id = 100,
查看进程要退出dashboar (当前系统的实时数据面板,按 ctrl+c 退出。)
然后thread 100 查看
dashboard——当前系统的实时数据面板 查线程id
thread——查看当前 JVM 的线程堆栈信息
jvm——查看当前 JVM 的信息
sysprop——查看和修改JVM的系统属性
sysenv——查看JVM的环境变量
vmoption——查看和修改JVM里诊断相关的option
perfcounter——查看当前 JVM 的Perf Counter信息
logger——查看和修改logger
getstatic——查看类的静态属性
ognl——执行ognl表达式
mbean——查看 Mbean 的信息
heapdump——dump java heap, 类似jmap命令的heap dump功能
vmtool——从jvm里查询对象,执行forceGc
边栏推荐
- Mysql 添加字段或者创建表SQL语句
- Do you know the ranking of hybrid cloud management platforms? Look here!
- Design owlook network novel recommendation system
- 输入两个正整数m和n,求其最大公约数和最小公倍数。
- Morsel-Driven Parallelism: 一种NUMA感知的并行Query Execution框架
- YOLOv5的Tricks | 【Trick7】指数移动平均(Exponential Moving Average,EMA)
- YOLOv5的Tricks | 【Trick6】学习率调整策略(One Cycle Policy、余弦退火等)
- Transaction code qc51 of SAP QM preliminary level creates quality certificate for purchase order
- [it] Foxit PDF retention tool selection
- 3-4月份我们干了些什么?
猜你喜欢
groupby函数详解

2021 national vocational skills competition Liaoning "Cyberspace Security Competition" and its analysis (ultra detailed)

Swagger basic use quick start

Differences between tinyint and int

AI video cloud: a good wife in the era of we media

Alibaba cloud AI training camp -sql foundation 2: query and sorting

1- enter the database

Alibaba cloud AI training camp - SQL basics 4: set operation - addition and subtraction of tables, join, etc

Unbutu 安装FFmpeg的两种方法
![Tricks | [trick6] learning rate adjustment strategy of yolov5 (one cycle policy, cosine annealing, etc.)](/img/e8/d11adffb784b0875c69f6fe5a32b63.png)
Tricks | [trick6] learning rate adjustment strategy of yolov5 (one cycle policy, cosine annealing, etc.)
随机推荐
优视慕V8投影仪,打开高清新“视”界
好榛子出辽阳!
MQ message loss, message consistency, repeated consumption solution
冒泡排序,打印菱形,打印直角三角形,打印倒三角,打印等边三角形,打印九九乘法表
Gstreamer应用开发实战指南(四)
AQS 之 CyclicBarrier 源码分析
Rsync synchronous backup
Wechat applet wx Getlocation location error information summary
Apache Devlake 代码库导览
Alibaba cloud AI training camp - SQL basics 3: complex query methods - views, subqueries, functions, etc
Swift 扩展
Myql error expression 1 of select list is not in group by claim and contains nonaggregated column
SET DECIMAL_V2=FALSE及UDF ERROR: Cannot divide decimal by zero及Incompatible return types DECIMAL问题排查
微信小程序wx.getLocation定位错误信息汇总
Good hazelnut comes from Liaoyang!
Painstakingly wrote a detailed MySQL tutorial of 24K words in three days, three nights
Gstreamer应用开发实战指南(一)
Leetcode 1037.有效的回旋镖
Windows10 installs both MySQL 5 and MySQL 8
LRU cache