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

推荐订阅源

T
Tenable Blog
Last Week in AI
Last Week in AI
P
Proofpoint News Feed
Engineering at Meta
Engineering at Meta
H
Help Net Security
F
Fortinet All Blogs
MyScale Blog
MyScale Blog
宝玉的分享
宝玉的分享
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
博客园 - 司徒正美
量子位
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
小众软件
小众软件
Recorded Future
Recorded Future
博客园 - 三生石上(FineUI控件)
Vercel News
Vercel News
aimingoo的专栏
aimingoo的专栏
I
InfoQ
Microsoft Security Blog
Microsoft Security Blog
Scott Helme
Scott Helme
The Last Watchdog
The Last Watchdog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
IT之家
IT之家
AI
AI
WordPress大学
WordPress大学
Security Archives - TechRepublic
Security Archives - TechRepublic
Google Online Security Blog
Google Online Security Blog
U
Unit 42
V2EX - 技术
V2EX - 技术
MongoDB | Blog
MongoDB | Blog
Schneier on Security
Schneier on Security
博客园 - Franky
H
Heimdal Security Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Jina AI
Jina AI
W
WeLiveSecurity
P
Privacy & Cybersecurity Law Blog
Cloudbric
Cloudbric
B
Blog RSS Feed
N
News | PayPal Newsroom
S
Securelist
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
I
Intezer
Hacker News - Newest:
Hacker News - Newest: "LLM"
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
博客园_首页
罗磊的独立博客
H
Hackread – Cybersecurity News, Data Breaches, AI and More
雷峰网
雷峰网

Java - 分类 - cywhat's blog

Java编译出现java.lang.ExceptionInInitializerError bash:jstack: 未找到命令
Java线上问题排查
cywhat · 2021-07-20 · via Java - 分类 - cywhat's blog

目录

cywhat 收录于 Java

   约 203 字  预计阅读 1 分钟    次阅读     条评论

目录

1、top 查看占用资源信息以及pid

1
top 

2、查看pid下绑定线程

1
top -Hp pid1(进程id)

3、拿到需要查询的线程pid,转换成16进制

1
printf '%x' pid2(线程id)  ==> 6a4     #6a4为输出结果

4、通过jstack讲java信息输出到文本

1
jstack pid1(进程id) > t.txt

如果jstack报错,请查看 jstack不存在

5、在t.txt文件中查找6a4

1
2
3
vim t.txt

/6a4

6、然后找到自己的collectorl业务代码层具体行数去分析

关注一下再走吧

公众号 小程序

赞赏支持

微信打赏 支付宝打赏

更新于 2021-07-20

 Java
返回 | 主页