In trying to configure shared memory allocation for DB2 on a CentOS 4.6 box I ran accross an article (I can't pot the url to the article since I'm a new user):


It's very well written except that in step 6 I don't understand how to do what they are asking:

6. Inspect the shared memory map of the DB2 agent. Run the following command:

pmap process_id

Note the hexadecimal address of the DB2 agent.


What exactly do they mean by "Note the hex address"...the output of pmap is pretty long and I'm not sure what they are referring to. Can someone familiar with pmap throw me a bone?

This is the pmap output of the process I am working with:

Which one is the "Hexadecimal address"?



23089: db2agent (TEST) 0
Address Kbytes RSS Anon Locked Mode Mapping
007b2000 88 - - - r-x-- ld-2.3.4.so
007c8000 4 - - - r-x-- ld-2.3.4.so
007c9000 4 - - - rwx-- ld-2.3.4.so
007cc000 1188 - - - r-x-- libc-2.3.4.so
008f5000 8 - - - r-x-- libc-2.3.4.so
008f7000 8 - - - rwx-- libc-2.3.4.so
008f9000 8 - - - rwx-- [ anon ]
008fd000 8 - - - r-x-- libdl-2.3.4.so
008ff000 4 - - - r-x-- libdl-2.3.4.so
00900000 4 - - - rwx-- libdl-2.3.4.so
00903000 132 - - - r-x-- libm-2.3.4.so
00924000 4 - - - r-x-- libm-2.3.4.so
00925000 4 - - - rwx-- libm-2.3.4.so
00a33000 56 - - - r-x-- libpthread-2.3.4.so
00a41000 4 - - - r-x-- libpthread-2.3.4.so
00a42000 4 - - - rwx-- libpthread-2.3.4.so
00a43000 8 - - - rwx-- [ anon ]
00b46000 36 - - - r-x-- libgcc_s-3.4.6-20060404.so.1
00b4f000 4 - - - rwx-- libgcc_s-3.4.6-20060404.so.1
00cf0000 32 - - - r-x-- libcrypt-2.3.4.so
00cf8000 4 - - - r-x-- libcrypt-2.3.4.so
00cf9000 4 - - - rwx-- libcrypt-2.3.4.so
00cfa000 156 - - - rwx-- [ anon ]
00d78000 32 - - - r-x-- librt-2.3.4.so
00d80000 4 - - - r-x-- librt-2.3.4.so
00d81000 4 - - - rwx-- librt-2.3.4.so
00d82000 40 - - - rwx-- [ anon ]
00de0000 32320 - - - rwxs- [ shmid=0x1e600005 ]
02d70000 22592 - - - rwxs- [ shmid=0x1e608006 ]
08048000 48 - - - r-x-- db2sysc
08054000 16 - - - rwx-- db2sysc
09a8a000 388 - - - rwx-- [ anon ]
30000000 240128 - - - rwxs- [ shmid=0x1ec0800d ]
40000000 4 - - - rwx-- [ anon ]
40012000 40560 - - - r-x-- libdb2e.so.1
427ae000 13928 - - - rwx-- libdb2e.so.1
43548000 152 - - - rwx-- [ anon ]
4356e000 9548 - - - r-x-- libicudatadb2.so.32.1
43ec1000 4 - - - rwx-- libicudatadb2.so.32.1
43ec2000 1404 - - - r-x-- libicui18ndb2.so.32.1
44021000 508 - - - rwx-- libicui18ndb2.so.32.1
440a0000 4 - - - rwx-- [ anon ]
440a1000 44 - - - r-x-- libicuiodb2.so.32.1
440ac000 4 - - - rwx-- libicuiodb2.so.32.1
440ad000 44 - - - r-x-- libiculxdb2.so.32.1
440b8000 16 - - - rwx-- libiculxdb2.so.32.1
440bc000 1096 - - - r-x-- libicuucdb2.so.32.1
441ce000 236 - - - rwx-- libicuucdb2.so.32.1
44209000 4 - - - rwx-- [ anon ]
4420a000 268 - - - r-x-- libiculedb2.so.32.1
4424d000 76 - - - rwx-- libiculedb2.so.32.1
44260000 2212 - - - r-x-- libdb2osse.so.1
44489000 364 - - - rwx-- libdb2osse.so.1
444e4000 12 - - - rwx-- [ anon ]
444e7000 1900 - - - r-x-- libimf.so
446c2000 8 - - - rwx-- libimf.so
446c4000 700 - - - r-x-- libstdc++.so.5.0.7
44773000 20 - - - rwx-- libstdc++.so.5.0.7
44778000 24 - - - rwx-- [ anon ]
4477e000 3316 - - - r-x-- libDB2xml4c.so.56.0
44abb000 1788 - - - rwx-- libDB2xml4c.so.56.0
44c7a000 412 - - - r-x-- libDB2xml4c-depdom.so.56.0
44ce1000 244 - - - rwx-- libDB2xml4c-depdom.so.56.0
44d1e000 104 - - - r-x-- libDB2XML4CMessages.so.56.0
44d38000 4 - - - rwx-- libDB2XML4CMessages.so.56.0
44d39000 4 - - - rwx-- [ anon ]
44d3a000 12 - - - r-x-- libdb2install.so.1
44d3d000 4 - - - rwx-- libdb2install.so.1
44d3e000 8 - - - rwx-- [ anon ]
44d40000 52 - - - r-x-- libdb2locale.so.1
44d4d000 28 - - - rwx-- libdb2locale.so.1
44d54000 6124 - - - r-x-- libdb2g11n.so.1
4534f000 112 - - - rwx-- libdb2g11n.so.1
4536b000 8 - - - rwx-- [ anon ]
4536d000 152 - - - r-x-- libdb2genreg.so.1
45393000 100 - - - rwx-- libdb2genreg.so.1
453ac000 28 - - - r-x-- libdb2trcapi.so.1
453b3000 12 - - - rwx-- libdb2trcapi.so.1
453b6000 4 - - - rwx-- [ anon ]
453b7000 532 - - - r-x-- libdb2dstf.so.1
4543c000 352 - - - rwx-- libdb2dstf.so.1
45494000 80 - - - r-x-- libdb2dascmn.so.1
454a8000 44 - - - rwx-- libdb2dascmn.so.1
454b3000 8 - - - rwx-- [ anon ]
454b5000 5772 - - - r-x-- libDB2xslt4c.so.110.0
45a58000 2072 - - - rwx-- libDB2xslt4c.so.110.0
45c5e000 4 - - - rwx-- [ anon ]
45c5f000 24 - - - r-x-- libDB2xalanMsg.so.110.0
45c65000 4 - - - rwx-- libDB2xalanMsg.so.110.0
45c66000 8 - - - rwx-- [ anon ]
45c68000 36 - - - r-x-- libdb2osse_db2.so.1
45c71000 16 - - - rwx-- libdb2osse_db2.so.1
45c75000 8 - - - rwx-- [ anon ]
45c77000 36 - - - r-x-- libnss_files-2.3.4.so
45c80000 4 - - - r-x-- libnss_files-2.3.4.so
45c81000 4 - - - rwx-- libnss_files-2.3.4.so
45c82000 128 - - - rwx-- [ anon ]
45ca2000 8488 - - - rwxs- [ shmid=0x1e5f8004 ]
464ec000 256 - - - rwx-- [ anon ]
4652c000 64 - - - r-x-- libicclib.so
4653c000 4 - - - rwx-- libicclib.so
4653d000 788 - - - r-x-- libcrypto.so.0.9.7
46602000 64 - - - rwx-- libcrypto.so.0.9.7
46612000 12 - - - rwx-- [ anon ]
46615000 2048 - - - r-x-- locale-archive
46815000 128 - - - rwxs- [ shmid=0x1ec00003 ]
46835000 8 - - - r-x-- IBMOSgroups.so
46837000 4 - - - rwx-- IBMOSgroups.so
46838000 8 - - - r-x-- IBMOSauthserver.so
4683a000 4 - - - rwx-- IBMOSauthserver.so
4683b000 1344 - - - rwx-- [ anon ]
bffc0000 116 - - - rwx-- [ stack ]
bffdd000 140 - - - rw--- [ anon ]
ffffe000 4 - - - r-x-- [ anon ]
-------- ------- ------- ------- -------
total kB 405612 - - -