Linux 内存分配/解除分配

Linux 内存分配/解除分配

如果没有 ?该pgfree/s命令会发生吗pgscand/spgfree/s和 和 有什么区别pgscank/s

答案1

欢迎来到 StackExchange @Ajay Ponugoti

$ man sar

-B     Report paging statistics.  The following values are displayed:

pgpgin/s Total number of kilobytes the system paged in from disk per second. pgpgout/s Total number of kilobytes the system paged out to disk per second. fault/s Number of page faults (major + minor) made by the system per second. This is not a count of page faults that generate I/O, because some page faults can be resolved without I/O. majflt/s Number of major faults the system has made per second, those which have required loading a memory page from disk. pgfree/s Number of pages placed on the free list by the system per second. pgscank/s Number of pages scanned by the kswapd daemon per second. pgscand/s Number of pages scanned directly per second.

答案2

有不同的“系统每秒”

有:

系统\文件读取操作/秒:是计算机上所有设备的文件系统读取请求的综合速率,包括从文件系统缓存读取的请求。

系统\文件写入操作/秒是对计算机上所有设备的文件系统写入请求的综合速率,

系统\系统正常运行时间是计算机自上次启动以来已运行的时间(以秒为单位)。

系统\系统调用/秒是计算机上运行的所有进程调用操作系统服务例程的综合速率。

kswapd 守护进程如果列表上的页数变得太少,则扫描空闲列表中的可用页。该守护进程仅在需要时运行。

相关内容