Find the answer to your Linux question:
Results 1 to 2 of 2
Hi! When i type in this command cat /proc/self/maps in linux environment, i will get the following display: [cs85437@localhost cs85437]$ cat /proc/self/maps 08048000-0804c000 r-xp 00000000 03:03 117900 /bin/cat 0804c000-0804d000 rw-p ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Feb 2006
    Posts
    4

    Explanation needed in /maps


    Hi! When i type in this command cat /proc/self/maps in linux environment, i will get the following display:

    [cs85437@localhost cs85437]$ cat /proc/self/maps
    08048000-0804c000 r-xp 00000000 03:03 117900 /bin/cat
    0804c000-0804d000 rw-p 00003000 03:03 117900 /bin/cat
    0804d000-0804e000 rwxp 00000000 00:00 0
    40000000-40015000 r-xp 00000000 03:03 119582 /lib/ld-2.3.2.so
    40015000-40016000 rw-p 00014000 03:03 119582 /lib/ld-2.3.2.so
    40016000-40017000 rw-p 00000000 00:00 0
    40017000-40217000 r--p 00000000 03:03 36583 /usr/lib/locale/locale-archive
    42000000-4212e000 r-xp 00000000 03:03 119585 /lib/tls/libc-2.3.2.so
    4212e000-42131000 rw-p 0012e000 03:03 119585 /lib/tls/libc-2.3.2.so
    42131000-42133000 rw-p 00000000 00:00 0
    bfffe000-c0000000 rwxp fffff000 00:00 0
    [cs85437@localhost cs85437]$

    Can anyone explain to me what is "/bin/cat", "/lib/ld-2.3.2.so", "/usr/lib/locale/locale-archive" and "/lib/tls/libc-2.3.2.so"? Thanks for your help!!!

  2. #2
    Linux Newbie
    Join Date
    Oct 2004
    Posts
    158
    maps shows you what image files are mapped into your process space.
    (image files are programs that you run like cat)

    /bin/cat is the full name of cat
    The .so files are shared libraries - these are brought into your process when they are needed by an executable image - like /bin/cat.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •