/proc/slabinfo /proc/mem_map
글쓴이: iimec2 / 작성시간: 화, 2006/01/10 - 5:14오후
/proc> cat slabinfo slabinfo - version: 1.1 kmem_cache 48 68 112 2 2 1 devfsd_event 0 0 20 0 0 1 tcp_tw_bucket 0 0 96 0 0 1 tcp_bind_bucket 0 0 32 0 0 1 tcp_open_request 0 0 64 0 0 1 inet_peer_cache 0 0 64 0 0 1 ip_fib_hash 0 0 32 0 0 1 ip_dst_cache 0 0 160 0 0 1 arp_cache 0 0 128 0 0 1 blkdev_requests 192 200 96 5 5 1 ntfs_inode_cache 0 0 192 0 0 1 ntfs_name_cache 0 0 512 0 0 1 ntfs_actx_cache 0 0 32 0 0 1 dnotify cache 0 0 20 0 0 1 file lock cache 0 0 92 0 0 1 fasync cache 0 0 16 0 0 1 uid_cache 0 0 32 0 0 1 skbuff_head_cache 0 0 160 0 0 1 sock 4 9 832 1 1 2 sigqueue 0 0 132 0 0 1 cdev_cache 3 59 64 1 1 1 bdev_cache 4 59 64 1 1 1 mnt_cache 12 59 64 1 1 1 inode_cache 47 56 512 8 8 1 dentry_cache 27 60 128 2 2 1 filp 9 30 128 1 1 1 names_cache 0 1 4096 0 1 1 buffer_head 100 120 96 3 3 1 mm_struct 3 30 128 1 1 1 vm_area_struct 0 0 32 0 0 1 fs_cache 2 59 64 1 1 1 files_cache 2 9 416 1 1 1 signal_act 6 6 1312 2 2 1 size-4096(DMA) 0 0 4096 0 0 1 size-4096 10 10 4096 10 10 1 size-2048(DMA) 0 0 2048 0 0 1 size-2048 1 2 2048 1 1 1 size-1024(DMA) 0 0 1024 0 0 1 size-1024 5 8 1024 2 2 1 size-512(DMA) 0 0 512 0 0 1 size-512 26 32 512 4 4 1 size-256(DMA) 0 0 256 0 0 1 size-256 22 30 256 2 2 1 size-128(DMA) 0 0 128 0 0 1 size-128 387 390 128 13 13 1 size-64(DMA) 0 0 64 0 0 1 size-64 40 59 64 1 1 1 size-32(DMA) 0 0 32 0 0 1 size-32 166 226 32 2 2 1 /proc>
위의 정보는 slab정보를 나타냅니다.
아래의 proc/mem_map를 보면 slab의 slab이 현재 잡혀 있는 곳이 있는데요
/proc> /proc> cat mem_map 0x01000000: RRRRRRRR[==][=][=]-RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x01040000: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x01080000: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x010c0000: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x01100000: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x01140000: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x01180000: RRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRRR 0x011c0000: RRRRRRRRRRRRRRRRRRRRRRRRR[==][==][==========][================== 0x01200000: ==][==============][==]--[====================================== 0x01240000: ================================================================ 0x01280000: ================================================================ 0x012c0000: ================================================================ 0x01300000: ================================================================ 0x01340000: ================================================================ 0x01380000: ===========================================================][=== 0x013c0000: ====================================][==]---[=====]-------[===== 0x01400000: ===][===============]-[========================================= 0x01440000: =========================][===================================== 0x01480000: ================================================================ 0x014c0000: ================================][============================== 0x01500000: =================================][=======][======][======][==== 0x01540000: ==][======][======][======][======][======][======][======][==== 0x01580000: ==][======][======][======][======][==============][============ 0x015c0000: ==================][============================================ 0x01600000: =================================================]-------------- 0x01640000: ---------------------------------------------------------------- 0x01680000: ---------------------------------------------------------------- 0x016c0000: ---------------------------------------------------------------- 0x01700000: ---------------------------------------------------------------- 0x01740000: ---------------------------------------------------------------- 0x01780000: ---------------------------------------------------------------- 0x017c0000: ---------------------------------------------------------------- 0x01800000: ---------------------------------------------------------------- 0x01840000: ---------------------------------------------------------------- 0x01880000: ---------------------------------------------------------------- 0x018c0000: ---------------------------------------------------------------- 0x01900000: ---------------------------------------------------------------- 0x01940000: ---------------------------------------------------------------- 0x01980000: ---------------------------------------------------------------- 0x019c0000: ---------------------------------------------------------------- 0x01a00000: ---------------------------------------------------------------- 0x01a40000: ---------------------------------------------------------------- 0x01a80000: ---------------------------------------------------------------- 0x01ac0000: ---------------------------------------------------------------- 0x01b00000: ---------------------------------------------------------------- 0x01b40000: ---------------------------------------------------------------- 0x01b80000: ---------------------------------------------------------------- 0x01bc0000: ---------------------------------------------------------------- 0x01c00000: ---------------------------------------------------------------- 0x01c40000: ---------------------------------------------------------------- 0x01c80000: ---------------------------------------------------------------- 0x01cc0000: ---------------------------------------------------------------- 0x01d00000: ---------------------------------------------------------------- 0x01d40000: ---------------------------------------------------------------- 0x01d80000: ---------------------------------------------------------------- 0x01dc0000: -----s------------------------------------------[]-------------- 0x01e00000: s1[]s1----------1111sssssss11s1s[][]ssss1sssss11[]s111[]ss11sss1 0x01e40000: sss11ss1ssss1ssssssssssssR1ssss1[][]ss[][][]sssss1ssssss1sss[][] init Mem: 121088 Slack: 1627 Shared: 0 dvdplayer.bin Mem: 3383136 Slack: 3165 Shared: 0 cat Mem: 415872 Slack: 1345 Shared: 0 Total Mem: 3920096 Slack: 6137 Shared: 0 Active: 0, inactive: 0, free: 2020 Free pages: 2020 (8080kB), %0 frag, %0 slack Free blks: 10 min=1 max=1939 avg=202 Used blks: 11 min=1 max=540 avg=153 /proc>
..왜 마지막 ^^: 부분에 잡히는지..알고 싶습니다..
Forums:
dma....
음.....
댓글 달기