首页 > 其他 > 详细

top的几种用法

时间:2015-03-10 01:40:05      阅读:277      评论:0      收藏:0      [点我收藏+]

Press (Shift+O) to Sort field via field letter, for example press ‘a‘ letter to sort process with PID (Process ID).


Type any key to return to main top window with sorted PID order as shown in below screen. Press ‘q‘ to quit exit the window.


Use top command with ‘u‘ option will display specific User process details.


Press ‘z‘ option in running top command will display running process in color which may help you to identified running process easily.


Press ‘c‘ option in running top command, it will display absolute path of running process.


By default screen refresh interval is 3.0 seconds, same can be change pressing ‘d‘ option in running top command and change it as desired as shown below.


You can kill a process after finding PID of process by pressing ‘k‘ option in running top command without exiting from top window as shown below.


You can use ‘r‘ option to change the priority of the process also called Renice.


Press (Shift+W) to save the running top command results under /root/.toprc.



本文出自 “Linux和网络” 博客,谢绝转载!

top的几种用法

原文:http://haohaozhang.blog.51cto.com/9176600/1618778

(0)
(0)
   
举报
评论 一句话评论(0
关于我们 - 联系我们 - 留言反馈 - 联系我们:wmxa8@hotmail.com
© 2014 bubuko.com 版权所有
打开技术之扣,分享程序人生!