top命令 %Cpu(s): 39.2 us, 5.3 sy, 0.0 ni, 55.5 id, 0.0 wa, 0.0 hi, 0.0 si, 0.0 st

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/weixin_39956356/article/details/80441297
这里与分享一些Linux最常用的命令,自己是RedHat 7

top

top命令功能很强大,动态查看系统的运维状态,完全将它看作 Linux 中的“强化版的
Windows 任务管理器”。
这里写图片描述

这里给出%Cpu(s)行单位的意思:

这行数据均以百分比格式显示

us:us, user : time running un-niced user processes 用户空间占用CPU百分比

sy, system : time running kernel processes 内核空间占用CPU百分比

ni, nice : time running niced user processes 用户进程空间内改变过优先级的进程占用CPU百分比

wa, IO-wait : time waiting for I/O completion 等待输入输出的CPU时间百分比

hi : time spent servicing hardware interrupts 硬件中断

si : time spent servicing software interrupts 软件中断

st : time stolen from this vm by the hypervisor

第四五行单位

KiB = kibibyte = 1024 bytes

MiB = mebibyte = 1024 KiB = 1,048,576 bytes

GiB = gibibyte = 1024 MiB = 1,073,741,824 bytes

TiB = tebibyte = 1024 GiB = 1,099,511,627,776 bytes

PiB = pebibyte = 1024 TiB = 1,125,899,906,842,624 bytes

EiB = exbibyte = 1024 PiB = 1,152,921,504,606,846,976 bytes

这里写图片描述

以上是查询man手册,对于初学者,要善于使用man命令

感谢一下文章对我帮助:
https://blog.csdn.net/sasoritattoo/article/details/9318893
这里向大家推荐刘遄老师的《Linux就该这么学》,以下是这本书的pdf、word文档
链接: https://pan.baidu.com/s/1V2mgSWE8XNrIkmBpQnjjEg 密码: 3271

猜你喜欢

转载自blog.csdn.net/weixin_39956356/article/details/80441297
0.0
今日推荐