Centos7.6如何使用pidstat查看进程占用资源情况
资讯
2025-03-02 11:14
154
Centos7.6如何使用pidstat查看进程占用资源情况
1.yum install pidstat -y,输入该命令按回车键
2.pidstat,输入该命令按回车键查看进程占用资源情况
3.pidstat -r 1 5,输入该命令按回车键查看活跃进程的缓存使用情况
4.pidstat -d 1 2,输入该命令按回车键查看进程的IO情况