方法1:
top,按f,选择J
方法2:ps -eF,其中PSR就是(processor that process is currently assigned to.)
或者ps -eo pid,command,args,psr
个人采用如下:
ps -eF|grep hellWorld
本文介绍如何利用ps命令与grep进行系统进程信息的高效筛选与分析,包括命令的基本用法、实例演示及优化技巧。
方法1:
top,按f,选择J
方法2:ps -eF,其中PSR就是(processor that process is currently assigned to.)
或者ps -eo pid,command,args,psr
个人采用如下:
ps -eF|grep hellWorld
1万+
3545
2040
2754
1288

被折叠的 条评论
为什么被折叠?