linux运维日常查询命令

#remember# / 2023-08-12 / 原文

top
top -H -p 进程pid
线程ID转换16进制
printf '0x%x\n' 线程ID
jstack 进程pid|grep 16进制线程pid -A 20