반응형
ps -mo pid,lwp,stime,time,%cpu -C <process name>
> pstree
systemd─┬─NetworkManager───2*[{NetworkManager}]
...
├─filebeat───15*[{filebeat}]
...
> ps -mo pid,lwp,stime,time,%cpu -C filebeat
PID LWP STIME TIME %CPU
32727 - Mar02 14:47:04 0.8
- 32727 Mar02 00:00:00 0.0
- 32728 Mar02 00:26:49 0.0
- 32729 Mar02 01:24:39 0.0
- 32730 Mar02 00:00:00 0.0
- 32731 Mar02 00:00:00 0.0
- 32732 Mar02 01:25:07 0.0
- 32733 Mar02 01:12:42 0.0
- 32734 Mar02 00:00:01 0.0
- 32735 Mar02 01:16:07 0.0
- 32736 Mar02 01:25:49 0.0
- 32737 Mar02 00:41:47 0.0
- 377 Mar02 01:23:36 0.0
- 378 Mar02 01:25:14 0.0
- 523 Mar02 01:24:05 0.0
- 882 Mar02 01:14:16 0.0
- 883 Mar02 01:26:46 0.0
반응형
'OS > Linux' 카테고리의 다른 글
Linux 다중 업링크(multiple gateway) 정책 라우팅 (0) | 2022.05.13 |
---|---|
Ubuntu 12.04 Repository 변경 (0) | 2022.04.26 |
[LINUX] 실제 디스크 용량과 df 용량의 차이가 있은 경우 (0) | 2021.03.19 |
Linux wondershaper을 이용한 QOS 적용 (0) | 2021.03.18 |
tmux-xpanes (0) | 2021.03.17 |