方式一: cat /proc/[pid]/status 展示结果中,Threads后边对应的数字就是进程拥有的线程数量 方式二: ps hH p 3805|wc -l 相关文章: 2021-11-04 2021-04-07 2021-06-27 2022-12-23 2022-12-23