purge命令相关

来源:互联网 发布:python 脚本 编辑:程序博客网 时间:2024/06/01 16:08

使用man purge命令可知:


purge(8)                  BSD System Manager's Manual                 purge(8)


NAME

     purge -- force disk cache to be purged (flushed and emptied)


SYNOPSIS

     purge


DESCRIPTION

     Purge can be used to approximate initial boot conditions with a cold disk

     buffer cache for performance analysis. It does not affect anonymous mem-

     ory that has been allocated through malloc, vm_allocate, etc.


SEE ALSO

     sync(8), malloc(3)


                              September 20, 2005

~

~

~

~

~

(END) 





稍微翻译一下:

purge(8)                  BSD System Manager's Manual                 purge(8)


名称

     purge -- 强制清除磁盘缓存 (flushed and emptied)


简介

     purge


说明

     Purge 命令可以使磁盘缓存恢复到接近冷启动时的状态,以便进行性能分析。

     不影响通过malloc, vm_malloc等方式申请的匿名内存。


相关命令

     sync(8), malloc(3)


                              September 20, 2005

~

~

~

~

~

(END) 




不过有时不执行purge电脑就会像死机了一样,目前还不清楚真正的原因。

0 0