top、ps命令查看进程中的线程方法
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
方法一:PS
ps -a显示所有进程pid,“-T”选项可以开启线程查看。
eg: ps -aT 显示所有线程
方法二: Top
top用于实时查看各个线程情况,用top命令的“-H”选项,该选项会列出所有Linux线程。
eg1. top -H 所有线程
eg2. top -H -p <pid> 特定进程中的线程




A beautiful web dashboard for Linux
最近提交(Master分支:11 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)