首页 > 其他 > 详细

How to display `top` results sorted by memory usage in real time?

时间:2019-08-29 15:15:53      阅读:69      评论:0      收藏:0      [点我收藏+]

If you‘re using the top that comes with Ubuntu (top -v = procps-ng version 3.3.10),

then you can use these interactive keyboard shortcuts to change the sorting. Note that these are all capital letters, so either use shift or caps lock.

M %MEM
N PID
P %CPU
T TIME+

By default, they will be sorted in DESC order. Use R to toggle ASC/DESC.

To set the sorting from the command line option, use top -o %MEM. You can specify any column.

How to display `top` results sorted by memory usage in real time?

原文:https://www.cnblogs.com/johnsonshu/p/11429425.html

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