首页  

linux资源监控atop     所属分类 linux 浏览量 1773
系统资源与进程监控
CPU、内存、磁盘和网络
比 top 全面 ,top 不能监控磁盘io和网络io

At regular intervals, it shows system-level activity related to 
the CPU, memory, swap, disks (including LVM) and network layers, 
and for every process (and thread) it shows e.g. the CPU utilization, memory growth, disk utilization, priority, username, state, and exit code.

In combination with the optional kernel module netatop, it even shows network activity per process/thread.
Highlight critical resources
It highlights resources that have (almost) reached a critical load by using colors for the system statistics.


https://atoptool.nl/

查看网络的详细视图 需要安装netatop包
n 进入 网络视图 
没有 netatop 模块 会提示
Kernel module 'netatop' not active or no root privs; request ignored!


PRC process
CPU
CPL  load
MEM  memory
SWP  swap
DSK  disk
NET


NET | eth0    ---- | pcki      70  | pcko      84 | sp    0 Mbps | si    5 Kbps |  so   13 Kbps | erri       0 | erro       0 |  drpi       0 | drpo 	   0 |


DSK |          vda | busy      0%  | read       2 | write     41 | KiB/r      4 |  KiB/w      9 | MBr/s    0.0 | MBw/s    0.0 |  avq     9.04 | avio 0.53 ms |

avq     9.04 
avio 0.53 ms

busy 磁盘忙时所占比例

avq  磁盘平均请求数 avgrq
avio 磁盘平均io时间



视图
g  Generic information
m  Memory
d  dik
n  network , 需要netatop模块
c  Command line  ,显示详细的命令行
u  用户资源使用情况 
p(小写)  显示进程的所有资源使用情况(disk mem cpu net )
P(大写)  正则匹配 , 譬如  java 则只显示 java进程

退出 q

上一篇     下一篇
http2.0简介

ps aux -aux -ef之间的区别

linux进程分析方法汇总

linux运维知识点

java中创建对象的五种方式

java有意思的陷阱