Find the answer to your Linux question:
Results 1 to 3 of 3
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1

    help command in linux console

    Hi! I am a new user in linux environment and having this problem.
    If i type in cat /proc/self/maps in linux terminal, there will be a 5 columns of output. What does each column represent? Thanks a lot for your help!

  2. #2
    Just Joined!
    Join Date
    Jan 2006

    Well I cannot explain you in detail of each column meaning.
    The columns represent :

    Addr-range protection offset dev inode path-name


  3. #3
    Linux Guru
    Join Date
    Oct 2001
    Täby, Sweden
    The format of most of the files in /proc is described in the proc(5) manpage. I'll quote the section on the maps file:
                  A file containing the currently mapped memory regions and  their
                  access permissions.
                  The format is:
            address           perms offset  dev   inode      pathname
            08048000-08056000 r-xp 00000000 03:0c 64593      /usr/sbin/gpm
            08056000-08058000 rw-p 0000d000 03:0c 64593      /usr/sbin/gpm
            08058000-0805b000 rwxp 00000000 00:00 0
            40000000-40013000 r-xp 00000000 03:0c 4165       /lib/
            40013000-40015000 rw-p 00012000 03:0c 4165       /lib/
            4001f000-40135000 r-xp 00000000 03:0c 45494      /lib/
            40135000-4013e000 rw-p 00115000 03:0c 45494      /lib/
            4013e000-40142000 rw-p 00000000 00:00 0
            bffff000-c0000000 rwxp 00000000 00:00 0
                  where  address is the address space in the process that it occu-
                  pies, perms is a set of permissions:
                       r = read
                       w = write
                       x = execute
                       s = shared
                       p = private (copy on write)
                  offset is the offset into the file/whatever, dev is  the  device
                  (major:minor),  and  inode is the inode on that device.  0 indi-
                  cates that no inode is associated with the memory region, as the
                  case would be with bss.
    If you have any further questions, don't hesitate to ask.

  4. $spacer_open

Posting Permissions

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