How to display `top` results sorted by memory usage in real time?
2024-10-20 03:45:16
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.
最新文章
- Xamarin+Prism小试牛刀:定制跨平台Outlook邮箱应用
- struts2+hibernate 项目实战:图书管理系统
- Could not parse mapping document from input stream
- Windows Phone App的dump文件实例分析- System.ExecutionEngineException
- 学习WebSocket(一):Spring WebSocket的简单使用
- CF 439C Devu and Partitioning of the Array
- Android性能优化系列 + Android官方培训课程中文版
- RGui的http代理设置
- Erlang 程序引发共享内存 bug 的一个例子
- 《高质量C++/C编程指南》陷阱 【转】
- 【转】Java的接口和抽象类的区别
- man命令
- int, NSInteger, NSUInteger, NSNumber的区别
- logcat使用
- Lua 垃圾收集机制
- robot中简单的使用键盘按键,和对象无关
- docker制作镜像
- CSS中清除浮动的作用以及如何清除浮动
- JavaScript基础四
- Flask学习【第8篇】:flask-session组件
热门文章
- win7 下docker 镜像加速
- matplotlib动态绘图
- Java连载37-面向对象的封装性
- linux基础学习路线&;review
- Anaconda--在虚拟环境中安装CUDA and cudnn
- vuex 源码分析(六) 辅助函数 详解
- Entity Framework 6 中如何获取 EntityTypeConfiguration 的 Edm 信息?(二)
- Winform中设置ZedGraph鼠标滚轮缩放的灵敏度以及设置滚轮缩放的方式(鼠标焦点为中心还是图形中心点)
- VS Code 自动修改和保存 代码风格 == eslint+prettier
- APS.NET MVC + EF (06)---模型