当前位置:网站首页>vmstat 内存消耗查询
vmstat 内存消耗查询
2022-07-29 05:26:00 【趴着的猫】
-a:显示活跃和非活跃内存
-f:显示从系统启动至今的fork数量 。
-m:显示slabinfo
-n:只在开始时显示一次各字段名称。
-s:显示内存相关统计信息及多种系统活动数量。
delay:刷新时间间隔。如果不指定,只显示一条结果。
count:刷新次数。如果不指定刷新次数,但指定了刷新时间间隔,这时刷新次数为无穷。
-d:显示磁盘相关统计信息。
-p:显示指定磁盘分区统计信息
-S:使用指定单位显示。参数有 k 、K 、m 、M ,分别代表1000、1024、1000000、1048576字节(byte)。默认单位为K(1024 bytes)
-V:显示vmstat版本信息。
[[email protected] ~]# vmstat
procs -----------memory---------- ---swap-- -----io---- -system-- ------cpu-----
r b swpd free buff cache si so bi bo in cs us sy id wa st
3 0 2048 77440 0 376040 0 8 3525 111 436 1100 13 16 71 1 0procs (进程):
r :等待执行的任务数
B :等待IO的进程数量
Memory(内存) :
swpd :正在使用虚拟的内存大小,单位k
free : 空闲内存大小
buff :已用的buff大小,对块设备的读写进行缓冲
cache :已用的cache大小,文件系统的cache
inact : 非活跃内存大小,即被标明可回收的内存,区别于free和active -a时出现
active : 活跃的内存大小 -a时出现
Swap(交换分区):
si : 每秒从交换区写入内存的大小(单位:kb/s)
so : 每秒从内存写到交换区的大小 (单位:kb/s)
IO(磁盘IO性能) :
bi :每秒读取的块数(读磁盘)
bo :每秒写入的块数(写磁盘)
system(内核):
in:每秒中断数,包括时钟中断
cs :每秒上下文切换数
CPU(以百分比表示):
Us:用户进程执行消耗cpu时间(user time)
Sy:系统进程消耗cpu时间(system time)
Id:空闲时间(包括IO等待时间)
wa:等待IO时间
边栏推荐
- IGMP protocol software development experiment
- Rowkey design
- Vivado IP核之复数浮点数除法 Floating-point
- Explain the difference between FIR filter and IIR filter in detail
- 盘点 | 全球关键信息基础设施网络安全大事件
- Vivado IP核之RAM Block Memery Generator
- FIR filter design (1) -- using the FDATool toolbox of MATLAB to design FIR filter parameters
- FPGA里两个数的大小直接进行比较就可以吗?
- day17_ Under collection
- Thinking about MySQL taking shell through OS shell
猜你喜欢

day12_多线程

Complex floating point multiplication of vivado IP core floating point

day04_ array

四、 局域网和城域网

day17_集合下

FIR滤波器设计(1)——利用matlab的fdatool工具箱设计FIR滤波器参数

day03_1_流程控制

Hongke case | PAC: an integrated control solution integrating SoftPLC control logic, HMI and other service functions

Joint use skills of joiner.on and stream().Map

On defect description style
随机推荐
Explain the difference between FIR filter and IIR filter in detail
day06_类与对象
超低成本DDoS攻击来袭,看WAF如何绝地防护
Clickhouse failed to import CSV without error but no data
2022年的软件测试的岗位要求为何越来越高?这其中有什么不可告人的秘密吗?
Hongke automation SoftPLC | Hongke kPa modk operation environment and construction steps (3) -- modk routine test
Complex floating point division of vivado IP core floating point
Handwritten digit recognition using neural network
day02_基本语法
七、 下一代互联网IPV6
Use of for statement in Verilog
Network Security Learning (II)
Self study understanding of [chain forward star]
FIR filter design (1) -- using the FDATool toolbox of MATLAB to design FIR filter parameters
软件测试职业发展:软件测试人员该何去何从
基于udp通信的在线多人聊天室
day13_ Under multithreading
Traffic characteristics of webshell management tools
NoClassDefFoundError processing
Scanbasepackages scanning range configuration