惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
D
Docker
Microsoft Security Blog
Microsoft Security Blog
Google DeepMind News
Google DeepMind News
M
MIT News - Artificial intelligence
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
Y
Y Combinator Blog
Vercel News
Vercel News
F
Fortinet All Blogs
B
Blog
Recent Announcements
Recent Announcements
A
About on SuperTechFans
GbyAI
GbyAI
T
The Blog of Author Tim Ferriss
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
博客园 - Franky
MongoDB | Blog
MongoDB | Blog
Stack Overflow Blog
Stack Overflow Blog
B
Blog RSS Feed
C
Check Point Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
V
Visual Studio Blog
月光博客
月光博客

博客园 - 陈惟鲜的博客

win11安装mysql8 AI软件修改脚本与代码,还真不敢完全操作 linux 磁盘满了,排查 Ecelipse 安装 MAT linux 增加新磁盘 redis自身查询很慢 排查redis-benchmark prometheus监控mysql数据库 prometheus监控springboot项目配置 监控工具prometheus配置-docker版 linux 文件属性被替换修改查询并修改 ----i----------- ZonedDateTime 转为 java.util.Date redis 事务处理,一旦异常,则回滚 linux 下安装使用jmeter 执行压测 大批量订单来了由于入库慢,先缓存后通知入库 eclipse 合并错分支代码还原,合并到本分支但未push到库上 mysql 查询jason格式数据 maven打包慢,使用maven-mvnd 打包可以快一半 postman 参数化构建 批量测试 postman 常用参数例子 使用AOP实现+自定义注解 实现 缓存 如何判断redis慢了
docker 容器查看jvm参数配置
陈惟鲜的博客 · 2024-05-09 · via 博客园 - 陈惟鲜的博客

1、登录服务器查看有哪些容器

2、进入到相应的容器中

docker exec -it 容器ID或名称 bash

3、找到java线程

4、使用jcmd查询java也就是jvm的配置

jcmd PID VM.flags

这里我查看的是线程1:
jcmd 1 VM.flags

 复制信息出来,格式化,具体参数什么意思,可网上搜下。

-XX:CICompilerCount=2 
-XX:ConcGCThreads=1 
-XX:G1ConcRefinementThreads=2 
-XX:G1EagerReclaimRemSetThreshold=16 
-XX:G1HeapRegionSize=2097152 
-XX:GCDrainStackTargetSize=64 
-XX:InitialHeapSize=257949696 
-XX:MarkStackSize=4194304 
-XX:MaxHeapSize=4095737856 
-XX:MaxNewSize=2455764992 
-XX:MinHeapDeltaBytes=2097152 
-XX:MinHeapSize=8388608 
-XX:NonNMethodCodeHeapSize=5826188 
-XX:NonProfiledCodeHeapSize=122916026 
-XX:ProfiledCodeHeapSize=122916026 
-XX:ReservedCodeCacheSize=251658240 
-XX:+SegmentedCodeCache 
-XX:SoftMaxHeapSize=4095737856 
-XX:+UseCompressedClassPointers 
-XX:+UseCompressedOops 
-XX:+UseFastUnorderedTimeStamps 
-XX:+UseG1GC