Chinaunix首页 | 论坛 | 博客
  • 博客访问: 108409
  • 博文数量: 24
  • 博客积分: 3020
  • 博客等级: 中校
  • 技术积分: 205
  • 用 户 组: 普通用户
  • 注册时间: 2008-05-23 16:24
文章分类
文章存档

2010年(1)

2008年(23)

我的朋友

分类: LINUX

2008-05-28 18:30:34

The slab memory cache information shows each cache name, the number of objects
active for that cache type, the total number of objects available for that cache type, the size of the cache (in bytes), and the number of pages for each cache. You can display kernel slab memory cache information in a screen-oriented view (similar to the top command) using slabtop:

$ slabtop
Active / Total Objects (% used) : 49127 / 70942 (69.2%)
Active / Total Slabs (% used) : 3094 / 3094 (100.0%)
Active / Total Caches (% used) : 101 / 145 (69.7%)
Active / Total Size (% used) : 8830.29K / 12013.73K (73.5%)
Minimum / Average / Maximum Object : 0.01K / 0.17K / 128.00K
OBJS ACTIVE USE OBJ SIZE SLABS OBJ/SLAB CACHE SIZE NAME
11600 4303 37% 0.13K 400 29 1600K dentry_cache
2928 1246 42% 0.48K 366 8 1464K ext3_inode_cache
4355 2535 58% 0.28K 335 13 1340K radix_tree_node
219 219 100% 4.00K 219 1 876K size-4096
4128 3485 84% 0.16K 172 24 688K filp

The slabtop output updates every three seconds. By default, slab caches are sorted
by the number of objects (first column) in each cache. By pressing c you can sort by cache size instead (as shown in the previous example).
 
摘自《Wiley SUSE Linux Toolbox 1000 plus Commands for openSUSE and SUSE Linux Enterprise》
 
阅读(1412) | 评论(0) | 转发(0) |
给主人留下些什么吧!~~