随笔分类 - Linux
摘要:Linux 内核是操作系统的核心,它控制对系统资源(例如:CPU、I/O设备、物理内存和文件系统)的访问。在引导过程中以及系统运行时,内核会将各种消息写入内核环形缓冲区。这些消息包括有关系统操作的各种信息。 内核环形缓冲区是物理内存的一部分,用于保存内核的日志消息。它具有固定的大小,这意味着一旦缓冲
阅读全文
摘要:一、监控CPU和内存的日志工具的使用 1、阿里云提供了一个监控CPU和内存的脚本,因free版本不同的原因,脚本中的内容有做细微的修改,脚本内容如下: #!/bin/bash #When the free memory very less ,this script to collect CPU/me
阅读全文
摘要:Hopefully you are now convinced that Linux didn't just eat your ram. Here are some interesting things you can do to learn how the disk cache works. 希望
阅读全文
摘要:Don't Panic!Your ram is fine! 不要惊慌,你的内存很好 What's going on?(这是怎么回事?) Linux is borrowing unused memory for disk caching. This makes it looks like you ar
阅读全文
摘要:free命令解析 free显示系统中空闲和已使用的物理内存和交换内存的总量,以及内核使用的缓冲区和高速缓存。 该信息是通过解析/proc/meminfo收集的。man free命令的英文介绍: free displays the total amount of free and used physi
阅读全文