linux指标分析

性能分析:
1.top命令查看那个线程过高
2.linux进程将死原因排查思路
https://www.cnblogs.com/migrantworkers/p/10179688.html
查看程序的进程号
ps -ef|grep ProgramName
ps -ef|grep 25723
root 4250 4244 35 18:07 ? 01:55:20 java -Dspring.profiles.active=default -Dspring.config.location=conf/xxxxxx.properties -Xbootclasspath/a:./*:./conf:./conf/* -jar -Xmx2G -Xms2G xxxxxxx.jar
app xxxx xxx  0 23:36 pts/9 00:00:00 grep --color=auto 4250
root xxxxx  xxx  0 20:40 ? 00:00:00 sh /data/projects/xxxxxx/jobs/2020120220402250088/guest/9999/secureboost_0/run.sh
root xxxxx  xxx  0 20:40 ? 00:00:00 sh /data/projects/xxxxxx/jobs/2020120220403355791/guest/9999/secureboost_0/run.s

跟踪进程号
ps -ef|grep xxxx
查看通信端口
netstat -anoutp |grep

原文地址:https://www.cnblogs.com/huangyunguang/p/14168788.html