plusz 2011-12-07
Date:2009.07.21
Author:DarrenHoch
译: Tonnyom[AT]hotmail.comSwappable–匿名的内存页
Syncable–通过硬盘文件备份的内存页
Discardable –静态页和被丢弃的页2,如果该页处于已修改状态并可备份回文件系统,则将页内容写入到磁盘.
3,如果该页处于已修改状态但没有任何磁盘备份,则将页内容写入到swap device.root283023:01?00:00:00[pdflush]
root 29 3 0 23:01 ? 00:00:00 [pdflush]在2.4内核下,一个高负荷的内存环境中,系统将遇到交换过程中不断的崩溃.这是因为PFRA从一个运行进程中,偷取其中一个内存页并尝试使用.导致结果就是,这个进程如果要回收那个页时,要是没有就会尝试再去偷取这个页,这样一来,就越来越糟糕了.在2.6内核下,使用"Swaptoken"修复了这个BUG,用来防止PFRA不断从一个进程获取同一个页.
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++FieldDescription
SwapdTheamountofvirtualmemoryinKBcurrentlyinuse.Asfreememoryreacheslowthresholds,moredataispagedtotheswapdevice.
当前虚拟内存使用的总额(单位:KB).空闲内存达到最低的阀值时,更多的数据被转换成页到交换设备中.
FreeTheamountofphysicalRAMinkilobytescurrentlyavailabletorunningapplications.
当前内存中可用空间字节数.
BuffTheamountofphysicalmemoryinkilobytesinthebuffercacheasaresultofread()andwrite()operations.
当前内存中用于read()和write()操作的缓冲区中缓存字节数
CacheTheamountofphysicalmemoryinkilobytesmappedintoprocessaddressspace.
当前内存中映射到进程地址空间字节数
SoTheamountofdatainkilobyteswrittentotheswapdisk.
写入交换空间的字节数总额
SiTheamountofdatainkilobyteswrittenfromtheswapdiskbackintoRAM.
从交换空间写回内存的字节数总额
BoTheamountofdiskblockspagedoutfromtheRAMtothefilesystemorswapdevice.
磁盘块页面从内存到文件或交换设备的总额
BiTheamountofdiskblockspagedintoRAMfromthefilesystemorswapdevice.
磁盘块页面从文件或交换设备到内存的总额procsmemoryswapiosystemcpu
rbswpdfreebuffcachesisobiboincsussyidwa
328091922615567976088688041608244751426863173675
03809188194916798209529003070217451005118925903461248
03809188162212798409889209501210701801263322394
138092688875679924106142426028183771131142169435388
128262841760871240114418010061402583916380152811791991261
21854780176883414012089801953525557309671764223843131628
08867528175883233212263923143841652427808149016344110743
42877372175963237212275322133281109123337678932337357
12885980178003240812391602042892123471268110339824012246
5290047217980324401253884244851175214856934173048121326
11904404176203249212589281513167647158049199784991725
4191119217944325401266724372263129073547834142147142020
119192921787631824127583212745163272747617142152112314
5092521617812250081289320121975127603181772125450102119
0 5 932860 17736 21760 1300280 8 2556 15469 3873 825 1258 49 13 24 15