当前位置:网站首页>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
边栏推荐
- 测试开发基础,教你做一个完整功能的Web平台之环境准备
- 如果不知道这4种缓存模式,敢说懂缓存吗?
- POI excel export, one of my template methods
- Solve pod install error: FFI is an incompatible architecture
- JVM命令之 jstat:查看JVM统计信息
- 谈fpga和asic的区别
- Personal imitation SSM framework
- linear regression
- nVisual网络可视化
- Reading notes of Clickhouse principle analysis and Application Practice (6)
猜你喜欢
Detailed explanation of platform device driver architecture in driver development
VScode进行代码补全
Get the way to optimize the one-stop worktable of customer service
OpenSergo 即将发布 v1alpha1,丰富全链路异构架构的服务治理能力
Check Point:企业部署零信任网络(ZTNA)的核心要素
Go language learning notes - Gorm use - Gorm processing errors | web framework gin (10)
【日常训练--腾讯精选50】235. 二叉搜索树的最近公共祖先
数据中心为什么需要一套基础设施可视化管理系统
苹果cms V10模板/MXone Pro自适应影视电影网站模板
老板总问我进展,是不信任我吗?(你觉得呢)
随机推荐
Data storage 3
EMMC打印cqhci: timeout for tag 10提示分析与解决
If you don't know these four caching modes, dare you say you understand caching?
Web authentication API compatible version information
Determine whether the file is a DICOM file
数字IC面试总结(大厂面试经验分享)
How to improve website weight
360织语发布7.0新品 为党政军、央国企打造专属“统一数字工作空间”
Bat instruction processing details
Value range of various datetimes in SQL Server 2008
Solve pod install error: FFI is an incompatible architecture
Wechat applet Bluetooth connects hardware devices and communicates. Applet Bluetooth automatically reconnects due to abnormal distance. JS realizes CRC check bit
外设驱动库开发笔记43:GPIO模拟SPI驱动
Opensergo is about to release v1alpha1, which will enrich the service governance capabilities of the full link heterogeneous architecture
JVM命令之 jinfo:实时查看和修改JVM配置参数
Interview skills of software testing
PTA TIANTI game exercise set l2-003 moon cake test point 2, test point 3 Analysis
原生小程序 之 input切换 text与password类型
Cf:c. column swapping [sort + simulate]
如果不知道这4种缓存模式,敢说懂缓存吗?