linux top
来源:互联网 发布:rm linux命令 编辑:程序博客网 时间:2024/05/16 01:54
top命令是Linux下常用的性能分析工具,能够实时显示系统中各个进程的资源占用状况,类似于Windows的任务管理器
top
top - 12:12:52 up 426 days, 4:43, 3 users, load average: 0.00, 0.01, 0.05Tasks: 144 total, 1 running, 140 sleeping, 3 stopped, 0 zombie%Cpu0 : 0.0 us, 0.0 sy, 0.0 ni, 98.6 id, 0.0 wa, 1.4 hi, 0.0 si, 0.0 st
第一行,任务队列信息,同 uptime 命令的执行结果,具体参数说明情况如下:
12:12:52 — 当前系统时间
up 426 days, 4:43 — 系统已经运行了426天
3 users — 当前有2个用户登录系统
load average: 0.00, 0.01, 0.05 — load average后面的三个数分别是1分钟、5分钟、15分钟的负载情况。
load average数据是每隔5秒钟检查一次活跃的进程数,然后按特定算法计算出的数值。如果这个数除以逻辑CPU的数量,结果高于5的时候就表明系统在超负荷运转了。
第二行,Tasks — 任务(进程),具体信息说明如下:
系统现在共有144个进程,其中处于运行中的有1个,140个在休眠(sleep),stoped状态的有3个,zombie状态(僵尸)的有0个。
第三行,cpu状态信息,具体属性说明如下:
us用户占用 sy系统 id空闲
操作:
b 高亮显示正在运行的进程
x 高亮拍序列
M (shift m)按内存占用排序
P (shift p)按cpu占用排序
阅读全文
0 0
- linux top
- linux top
- Linux TOP
- linux top
- linux top
- Linux top
- linux top
- Linux-top
- linux top
- linux top
- Linux top
- Linux top
- linux top
- linux top
- Linux-----top
- linux top
- linux top
- Linux top
- ITEXT 表与表格标题不分开,图与图片标题不分开
- redo 管理语句
- 虚幻4学习资源
- 人工智能AI带来的福利越来越真实了
- 十七、最小公倍数
- linux top
- spring mvc中关于json的使用
- 关于 WinXP SP2 下的 ChunkSize漏洞利用
- xgboost 参数 scale_pos_weight 详解
- 环境搭建资源下载
- Linux
- 汇编入门(长文多图,流量慎入!!!)
- 网络相关的命令
- 安卓智能地图开发与实施十:图层管理