pidstat for Linux performance monitoring

Monitor CPU utilization of a single process with pidstat

pidstat -u 1 -p 8989
insert image description here
insert image description here

Monitor memory usage of a single process with pidstat

insert image description here

Use pidstat to monitor the IO of a single process

insert image description here

Use pidstat to view context switches

insert image description here
insert image description here

 pidstat -wt 2 -p 4562

Guess you like

Origin blog.csdn.net/fengsheng5210/article/details/123643126