pidstat_读书笔记_实验
P204 - 6.6.8 pidstat
pidstat 1 [popexizhi:进程方式统计CPU用量,这里有个问题%CPU是总CPU用量,但CPU是CPU的num号吗?这个也是采样时的此进程使用cpu 号吗?参见 pidstat -t 多线程的进程这个是如何显示的呢? ]
pidstat -p ALL [popexizhi: 全部进程的cpu 用量显示,包括空闲,这里-p ALL 与mpstat -P ALL注意区别是小写]
pidstat -t [popexizhi: 每个线程的打印信息,这里不只如何只看感兴趣的进程号??
其中部分内容说明:
]
P204 - 6.6.8 pidstat
pidstat 1 [popexizhi:进程方式统计CPU用量,这里有个问题%CPU是总CPU用量,但CPU是CPU的num号吗?这个也是采样时的此进程使用cpu 号吗?参见 pidstat -t 多线程的进程这个是如何显示的呢? ]
pidstat -t [popexizhi: 每个线程的打印信息,这里不只如何只看感兴趣的进程号??
其中部分内容说明:
-t Also display statistics for threads associated with selected tasks.
This option adds the following values to the reports:
TGID
The identification number of the thread group leader.
TID
The identification number of the thread being monitored.



没有评论:
发表评论