查看tomcat进程启动了多少个线程 1、 获取tomcat进程pid ps -ef|grep tomcat 例如进程号是29295 2、 统计该tomcat进程内的线程个数 ps -Lf 29295|wc -l