dump包:
jmap -dump:file=search-1226.dump [pid]
jstack:
jstack [pid]
查看线程数:
ps -eLf | grep -c java-program
dump包:
jmap -dump:file=search-1226.dump [pid]
jstack:
jstack [pid]
查看线程数:
ps -eLf | grep -c java-program
转载于:https://my.oschina.net/u/2935389/blog/1595091