/proc/slabinfo /proc/mem_map

iimec2의 이미지

/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> 




..왜 마지막 ^^: 부분에 잡히는지..알고 싶습니다..

익명 사용자의 이미지

음.....

댓글 달기

Filtered HTML

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

BBCode

  • 텍스트에 BBCode 태그를 사용할 수 있습니다. URL은 자동으로 링크 됩니다.
  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param>
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.

Textile

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • You can use Textile markup to format text.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Markdown

  • 다음 태그를 이용하여 소스 코드 구문 강조를 할 수 있습니다: <code>, <blockcode>, <apache>, <applescript>, <autoconf>, <awk>, <bash>, <c>, <cpp>, <css>, <diff>, <drupal5>, <drupal6>, <gdb>, <html>, <html5>, <java>, <javascript>, <ldif>, <lua>, <make>, <mysql>, <perl>, <perl6>, <php>, <pgsql>, <proftpd>, <python>, <reg>, <spec>, <ruby>. 지원하는 태그 형식: <foo>, [foo].
  • Quick Tips:
    • Two or more spaces at a line's end = Line break
    • Double returns = Paragraph
    • *Single asterisks* or _single underscores_ = Emphasis
    • **Double** or __double__ = Strong
    • This is [a link](http://the.link.example.com "The optional title text")
    For complete details on the Markdown syntax, see the Markdown documentation and Markdown Extra documentation for tables, footnotes, and more.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 사용할 수 있는 HTML 태그: <p><div><span><br><a><em><strong><del><ins><b><i><u><s><pre><code><cite><blockquote><ul><ol><li><dl><dt><dd><table><tr><td><th><thead><tbody><h1><h2><h3><h4><h5><h6><img><embed><object><param><hr>

Plain text

  • HTML 태그를 사용할 수 없습니다.
  • web 주소와/이메일 주소를 클릭할 수 있는 링크로 자동으로 바꿉니다.
  • 줄과 단락은 자동으로 분리됩니다.
댓글 첨부 파일
이 댓글에 이미지나 파일을 업로드 합니다.
파일 크기는 8 MB보다 작아야 합니다.
허용할 파일 형식: txt pdf doc xls gif jpg jpeg mp3 png rar zip.
CAPTCHA
이것은 자동으로 스팸을 올리는 것을 막기 위해서 제공됩니다.