【转】12 TOP Command Examples in Linux

12个top命令

1. # top

2. # top,后输入shift+O,在“Current Sort Field:”中选左边的field对应的字母进行排序。

3. # top -u tecmint,显示tecmint用户进程详情。

4. # top,后输入z,以红字识别正在运行的进程。

5. # top,后输入c,显示进程的绝对路径。

6. # top,后输入d,变更延时设置。

7. # top,后输入k,输入PID,kill某个进程。

8. # top,后输入Shift+P,以cpu利用率排序。

9. # top,后输入r,调整进程的nice值

10. # top,后输入Shift+w,将当前top数据保存至/root/.toprc中。

11. # top,后输入h,获取帮助信息。

12. #top -n 10,刷新10次后自动退出。

转自:http://www.tecmint.com/12-top-command-examples-in-linux/

原文地址:https://www.cnblogs.com/nhlinkin/p/3549361.html