当前位置:网站首页>Jcmd of JVM command: multifunctional command line
Jcmd of JVM command: multifunctional command line
2022-07-07 06:08:00 【Zhang Junjie 1994】
Study Silicon Valley Song Hongkang JVM From entry to mastery Learning notes of
summary
stay jdk1.7 in the future , Added this command line tool ,jcmd, This tool is like a Swiss Army knife , Integrated jstat All other command functions , For example, with jcmd Command to export the heap 、 Memory usage 、 see Java process 、 Export thread information 、 perform GC、JVM Running time and so on .
jcmd Yes jmap Most of the functions , And in Oracle It is also recommended on the official website of jcmd Name substitution jmap command .
Basic grammar
jcmd -l
List all JVM process
The above operation is similar to jsp It's very similar
jcmd Process number help
For the specified process , What commands can be used
jcmd Process number Specific commands
Displays the data of the command for the specified process
Replace the previous operations according to the above command :
Thread.print Can replace jstack Instructions
GC.class_histogram Can replace jmap Medium -histo operation
GC.heap_dump Can replace jmap Medium -dump operation
GC.run You can see GC Implementation of
VM.uptime You can see the total execution time of the program , Can replace jstat Directive -t operation
VM.system_properties Can replace jinfo -sysprops process id
VM.flags Can get JVM Configuration parameter information of
Print thread information
adopt Thread.print Can replace jstack Instructions Check whether the program has deadlock
GC.heap_dump Can replace jmap Medium -dump operation
Generates a heap dump
Display the parameters of virtual machine configuration
边栏推荐
- Convert numbers to string strings (to_string()) convert strings to int sharp tools stoi();
- jvm命令之 jcmd:多功能命令行
- 《ClickHouse原理解析与应用实践》读书笔记(6)
- Web authentication API compatible version information
- C. colonne Swapping [tri + Simulation]
- SAP Spartacus checkout 流程的扩展(extend)实现介绍
- 【SQL实战】一条SQL统计全国各地疫情分布情况
- Flask 1.1.4 werkzeug1.0.1 analyse du code source: processus de démarrage
- [solved] record an error in easyexcel [when reading the XLS file, no error will be reported when reading the whole table, and an error will be reported when reading the specified sheet name]
- STM32按键状态机2——状态简化与增加长按功能
猜你喜欢
Bbox regression loss function in target detection -l2, smooth L1, IOU, giou, Diou, ciou, focal eiou, alpha IOU, Siou
Loss function and positive and negative sample allocation in target detection: retinanet and focal loss
话说SQLyog欺骗了我!
数据中心为什么需要一套基础设施可视化管理系统
Interview skills of software testing
Ctfshow-- common posture
The solution of a simple algebraic problem
Reading notes of Clickhouse principle analysis and Application Practice (6)
Chain storage of stack
【SQL实战】一条SQL统计全国各地疫情分布情况
随机推荐
关于STC单片机“假死”状态的判别
Win configuration PM2 boot auto start node project
JVM命令之- jmap:导出内存映像文件&内存使用情况
Interview questions and salary and welfare of Shanghai byte
MFC BMP sets the resolution of bitmap, DPI is 600 points, and gdiplus generates labels
MySQL performance_ Schema common performance diagnosis query
Forkjoin is the most comprehensive and detailed explanation (from principle design to use diagram)
搞懂fastjson 对泛型的反序列化原理
VScode进行代码补全
如何提高网站权重
980. 不同路径 III DFS
原生小程序 之 input切换 text与password类型
Jstat of JVM command: View JVM statistics
Vscode for code completion
EMMC打印cqhci: timeout for tag 10提示分析与解决
数字IC面试总结(大厂面试经验分享)
A freshman's summary of an ordinary student [I don't know whether we are stupid or crazy, but I know to run forward all the way]
JVM监控及诊断工具-命令行篇
Loss function and positive and negative sample allocation in target detection: retinanet and focal loss
JVM命令之 jstat:查看JVM统计信息