- 论坛徽章:
- 0
|
回复 24# NO_Getway
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
44814 43159 96% 0.62K 7469 6 29876K ext3_inode_cache
OBJS — The total number of objects (memory blocks), including those in use (allocated), and some spares not in use.
ACTIVE — The number of objects (memory blocks) that are in use (allocated).
USE — Percentage of total objects that are active. ((ACTIVE/OBJS)(100))
OBJ SIZE — The size of the objects.
SLABS — The total number of slabs.
OBJ/SLAB — The number of objects that fit into a slab.
CACHE SIZE — The cache size of the slab.
NAME — The name of the slab.
所以,所有行的ACTIVE * SIZE累加就是内核占用的内存。
从你目前的情况来看,内存都是内核占用的,可能是你开了一些并不实用的功能,比如selinux(如果不需要,可以通过重新配置内核关闭一些不常用的功能),大多数内存占用都是文件系统相关的,这个也不必担心,在内存充足的情况下,内核会使用内存来做文件、目录缓存(记得有人说过,内存是拿来用的,不是用来看的),在内存紧张的情况下,系统会回收这部分缓存的内存。
|
|