Linux系统资源查询命令(cpu、io、mem)

cpu/mem:

1. 指定pid

top -p pid1,pid2,...

2. top排序

先top,然后  输入大写P,则结果按CPU占用降序排序。输入大写M,结果按内存占用降序排序。

 

io:

iostat -d -m -x 2

 

posted @ 2017-07-14 09:12  Mister_W  阅读(1162)  评论(0编辑  收藏  举报