ps -ef | grep mysqld
查看 MySQL 的系统线程
top -Hp 14809
通过系统线程查看 MySQL 线程
select * from performance_schema.threads where THREAD_OS_ID=13730\G
查询相应的 processlist
select * from information_schema.processlist where id=756\G
通过 Linux 系统线程查找 MySQL 8.0 进程的线程
原文:http://blog.51cto.com/linux10000/2298369