阅读量:0
在Debian系统中,dmesg命令用于显示内核环缓冲区的消息,这些消息包括硬件状态、驱动程序加载信息以及系统启动过程中的各种事件。内存相关的信息是其中非常重要的一部分,可以帮助你了解系统的内存使用情况和潜在问题。
以下是一些常见的dmesg日志中与内存相关的信息及其解读:
-
内存总量和类型:
Memory: 8177M/16352M available (8192M kernel code, 1310M rwdata, 4096M rodata, 2048M init, 1943M bss, 32768M reserved, 0K cma-reserved)Memory: 8177M/16352M available:系统总共有16352MB内存,当前可用8177MB。8192M kernel code:内核代码占用的内存。1310M rwdata:可读写数据占用的内存。4096M rodata:只读数据占用的内存。2048M init:初始化内存。1943M bss:未初始化数据占用的内存。32768M reserved:保留内存。0K cma-reserved:连续内存分配器(CMA)保留的内存。
-
内存分配失败:
[ 0.000000] Memory: 8177M/16352M available (8192M kernel code, 1310M rwdata, 4096M rodata, 2048M init, 1943M bss, 32768M reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=64, Size=1.00MB, MinObjects=16, CPUs=8, Nodes=1 [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:16384, nr_irqs:16384, preallocated irqs:16384 [ 0.000000] rcu: Hierarchical SRCU implementation. [ 0.000000] Clocksource systick: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 764504378 ns [ 0.000000] NET: Registered protocol family 2 [ 0.000000] tcp_listen_portaddr_hash hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] TCP established hash table entries: 32768 (order: 6, 262144 bytes) [ 0.000000] TCP bind hash table entries: 32768 (order: 6, 262144 bytes) [ 0.000000] TCP: Hash tables configured (established 32768 bind 32768) [ 0.000000] MPTCP hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP subflow hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP B-PDU buffer hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP RTO buffer hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP socket hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP key hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [ 0.000000] MPTCP control block array hash table entries: 8192 (order: 4, 65536 bytes) [
以上就是关于“Debian dmesg日志中的内存信息解读”的相关介绍,筋斗云是国内较早的云主机应用的服务商,拥有10余年行业经验,提供丰富的云服务器、租用服务器等相关产品服务。云服务器资源弹性伸缩,主机vCPU、内存性能强悍、超高I/O速度、故障秒级恢复;电子化备案,提交快速,专业团队7×24小时服务支持!
简单好用、高性价比云服务器租用链接:https://www.jindouyun.cn/product/cvm