<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Using Process Memory Matrix script for calculating Oracle process memory usage on Solaris</title>
	<atom:link href="http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris</link>
	<description>Oracle, Exadata, Performance, Troubleshooting - Mobile Life and Productivity.</description>
	<lastBuildDate>Wed, 08 Feb 2012 08:03:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: MikeD</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-10738</link>
		<dc:creator>MikeD</dc:creator>
		<pubDate>Wed, 28 Dec 2011 20:48:22 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-10738</guid>
		<description>@Max, the pmap man page seems to contradict itself. In one of the examples it states that for an Anon value of 56, &quot;each additional bourne  shell  uses  approximately 56Kbytes of additional physical memory.&quot; Also the totals row is labelled total Kb, so that suggests the Anon is really in Kb.

@Tanel, good work on this. My question is this (hopefully not a stupid one). Are the virtual addresses unique to each process or do they represent all of the system&#039;s virtual memory? When using the -t option with multiple pids, I have seen that the segment &quot;type&quot; can vary for the same address across different pids (one may be anon, one may be a lib, etc) and they can also have different allocations for the same segment. It looks like the join of the -x and the -S files will wipe out duplicate rows with the same virtual address. I&#039;m wondering if that is an accurate way to deal with the duplicates or not.</description>
		<content:encoded><![CDATA[<p>@Max, the pmap man page seems to contradict itself. In one of the examples it states that for an Anon value of 56, &#8220;each additional bourne  shell  uses  approximately 56Kbytes of additional physical memory.&#8221; Also the totals row is labelled total Kb, so that suggests the Anon is really in Kb.</p>
<p>@Tanel, good work on this. My question is this (hopefully not a stupid one). Are the virtual addresses unique to each process or do they represent all of the system&#8217;s virtual memory? When using the -t option with multiple pids, I have seen that the segment &#8220;type&#8221; can vary for the same address across different pids (one may be anon, one may be a lib, etc) and they can also have different allocations for the same segment. It looks like the join of the -x and the -S files will wipe out duplicate rows with the same virtual address. I&#8217;m wondering if that is an accurate way to deal with the duplicates or not.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Roberts</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-7688</link>
		<dc:creator>Roberts</dc:creator>
		<pubDate>Wed, 13 Jul 2011 08:57:39 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-7688</guid>
		<description>Hi,
I tried to use script on Solaris, but did not succeded with -t option. As it does not show summary for me. Without -t option script seems to be working.
Roberts

uname -a
SunOS 5.10 Generic_142900-08 sun4v sparc SUNW,Sun-Blade-T6320

bash-3.00$ sudo -u oraclet1 ./procmm.sh -t `pgrep -f ora`

-- procmm.sh: Process Memory Matrix v1.03 by Tanel Poder ( http://tech.e2sn.com )
-- All numbers are shown in kilobytes

Total PIDs 19, working: ...................

PID            SEGMENT_TYPE      VIRTUAL          RSS         ANON       LOCKED    SWAP_RSVD
------ -------------------- ------------ ------------ ------------ ------------ ------------
0                     stack         1984         1984         1984            0         1984
0                   tnslsnr         1688         1296            0            0           96
0                      anon          256          224           96            0          248
0                       lib        15544        12800           40            0         1096
0                      heap         1584         1520          600            0         1584
------ -------------------- ------------ ------------ ------------ ------------ ------------
0                 TOTAL(kB)        21056        17824         2720            0         5008

-- Note that in Total (-t) calculation mode it makes sense to look into ANON and SWAP_RSVD
-- totals only as other numbers may be heavily &quot;doublecounted&quot; due to overlaps of shared mappings</description>
		<content:encoded><![CDATA[<p>Hi,<br />
I tried to use script on Solaris, but did not succeded with -t option. As it does not show summary for me. Without -t option script seems to be working.<br />
Roberts</p>
<p>uname -a<br />
SunOS 5.10 Generic_142900-08 sun4v sparc SUNW,Sun-Blade-T6320</p>
<p>bash-3.00$ sudo -u oraclet1 ./procmm.sh -t `pgrep -f ora`</p>
<p>&#8211; procmm.sh: Process Memory Matrix v1.03 by Tanel Poder ( <a href="http://tech.e2sn.com" rel="nofollow">http://tech.e2sn.com</a> )<br />
&#8211; All numbers are shown in kilobytes</p>
<p>Total PIDs 19, working: &#8230;&#8230;&#8230;&#8230;&#8230;&#8230;.</p>
<p>PID            SEGMENT_TYPE      VIRTUAL          RSS         ANON       LOCKED    SWAP_RSVD<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
0                     stack         1984         1984         1984            0         1984<br />
0                   tnslsnr         1688         1296            0            0           96<br />
0                      anon          256          224           96            0          248<br />
0                       lib        15544        12800           40            0         1096<br />
0                      heap         1584         1520          600            0         1584<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
0                 TOTAL(kB)        21056        17824         2720            0         5008</p>
<p>&#8211; Note that in Total (-t) calculation mode it makes sense to look into ANON and SWAP_RSVD<br />
&#8211; totals only as other numbers may be heavily &#8220;doublecounted&#8221; due to overlaps of shared mappings</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4909</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 02 Aug 2010 00:22:01 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4909</guid>
		<description>Also when man pmap, it says:

     Anonymous Memory (Anon)

         The number of pages, counted by using  the  system  page
         size,  of anonymous memory associated with the specified
         mapping. Anonymous  memory  shared  with  other  address
         spaces  is  not included, unless the -a option is speci-
         fied.

         Anonymous memory  is  reported  for  the  process  heap,
         stack,  for  &#039;copy  on write&#039; pages with mappings mapped
         with MAP_PRIVATE (see mmap(2)).

So &quot;Anon&quot; in pmap seems showing the number of pages, not in kb.</description>
		<content:encoded><![CDATA[<p>Also when man pmap, it says:</p>
<p>     Anonymous Memory (Anon)</p>
<p>         The number of pages, counted by using  the  system  page<br />
         size,  of anonymous memory associated with the specified<br />
         mapping. Anonymous  memory  shared  with  other  address<br />
         spaces  is  not included, unless the -a option is speci-<br />
         fied.</p>
<p>         Anonymous memory  is  reported  for  the  process  heap,<br />
         stack,  for  &#8216;copy  on write&#8217; pages with mappings mapped<br />
         with MAP_PRIVATE (see mmap(2)).</p>
<p>So &#8220;Anon&#8221; in pmap seems showing the number of pages, not in kb.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4908</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Mon, 02 Aug 2010 00:13:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4908</guid>
		<description>Hi Tanel,

The original process has logged out. Here is another example when both commands ran immediately one after another:

&gt;pmap -x 18918
18918:  oraclelpiweb (LOCAL=NO)
         Address     Kbytes        RSS       Anon     Locked Mode   Mapped File
0000000100000000     103696     103624          -          - r-x--  oracle
0000000106642000        832        656        208          - rwx--  oracle
0000000106712000       1960        912        888          - rwx--    [ heap ]
0000000380000000     188416     188416          -     188416 rwxsR    [ ism shmid=0x6a00002c ]
00000003C0000000     172032     172032          -     172032 rwxsR    [ ism shmid=0x50000032 ]
0000000400000000     180224     180224          -     180224 rwxsR    [ ism shmid=0x6c000038 ]
0000000440000000     176128     176128          -     176128 rwxsR    [ ism shmid=0xf000042 ]
0000000480000000         16         16          -         16 rwxsR    [ ism shmid=0x7b000043 ]
FFFFFFFF7BA60000         64         64         64          - rw---    [ anon ]
FFFFFFFF7BAC0000         64         40         40          - rw---    [ anon ]
FFFFFFFF7BAD0000         64         64         64          - rw---    [ anon ]
FFFFFFFF7BAE0000         64         40         40          - rw---    [ anon ]
FFFFFFFF7BB00000         16         16          -          - r-x--  liblgrp.so.1
FFFFFFFF7BC04000          8          8          8          - rwx--  liblgrp.so.1
FFFFFFFF7BD00000         56         56          -          - r-x--  libmd.so.1
FFFFFFFF7BE0E000          8          8          8          - rwx--  libmd.so.1
FFFFFFFF7BF00000        640        472          -          - r-x--  libm.so.2
FFFFFFFF7C09E000         40         32         24          - rwx--  libm.so.2
FFFFFFFF7C100000         32         32          -          - r-x--  librt.so.1
FFFFFFFF7C208000          8          8          8          - rwx--  librt.so.1
FFFFFFFF7C300000         32         32          -          - r-x--  libaio.so.1
FFFFFFFF7C408000          8          8          8          - rwx--  libaio.so.1
FFFFFFFF7C500000       1264        896          -          - r-x--  libc.so.1
FFFFFFFF7C700000         64         32         32          - rwx--    [ anon ]
FFFFFFFF7C73C000         72         72         72          - rwx--  libc.so.1
FFFFFFFF7C74E000          8          -          -          - rwx--  libc.so.1
FFFFFFFF7C800000          8          8          -          - r-x--  libdl.so.1
FFFFFFFF7C902000          8          8          8          - rwx--  libdl.so.1
FFFFFFFF7CA00000         32         32          -          - r-x--  libgen.so.1
FFFFFFFF7CB08000          8          8          8          - rwx--  libgen.so.1
FFFFFFFF7CC00000         56         56          -          - r-x--  libsocket.so.1
FFFFFFFF7CD00000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7CD0E000         16         16         16          - rwx--  libsocket.so.1
FFFFFFFF7CE00000        688        448          -          - r-x--  libnsl.so.1
FFFFFFFF7CF00000         64         16         16          - rw---    [ anon ]
FFFFFFFF7CF10000         64         64         64          - rw---    [ anon ]
FFFFFFFF7CF20000         64         64         56          - rw---    [ anon ]
FFFFFFFF7CF30000         64         64         64          - rw---    [ anon ]
FFFFFFFF7CF40000         64         64         64          - rw---    [ anon ]
FFFFFFFF7CF50000         64         64         64          - rw---    [ anon ]
FFFFFFFF7CF60000         64         64         64          - rw---    [ anon ]
FFFFFFFF7CF70000         64         64         64          - rw---    [ anon ]
FFFFFFFF7CFAC000         64         64         64          - rwx--  libnsl.so.1
FFFFFFFF7CFBC000         32         32         24          - rwx--  libnsl.so.1
FFFFFFFF7D000000          8          8          -          - r-x--  libkstat.so.1
FFFFFFFF7D102000          8          8          8          - rwx--  libkstat.so.1
FFFFFFFF7D200000       2184        408          -          - r-x--  libnnz10.so
FFFFFFFF7D500000         64         64         64          - rwx--    [ anon ]
FFFFFFFF7D520000        240        216        200          - rwx--  libnnz10.so
FFFFFFFF7D55C000          8          -          -          - rwx--  libnnz10.so
FFFFFFFF7D600000         72         72          -          - r-x--  libdbcfg10.so
FFFFFFFF7D700000         24         16         16          - rwx--    [ anon ]
FFFFFFFF7D710000          8          8          8          - rwx--  libdbcfg10.so
FFFFFFFF7D770000         64         64         56          - rw---    [ anon ]
FFFFFFFF7D780000         64         64         64          - rw---    [ anon ]
FFFFFFFF7D790000         64         64         64          - rw---    [ anon ]
FFFFFFFF7D7A0000         64         64         64          - rw---    [ anon ]
FFFFFFFF7D7B0000         64         64         64          - rw---    [ anon ]
FFFFFFFF7D7C0000         64         64         64          - rw---    [ anon ]
FFFFFFFF7D7D0000         64         64         64          - rw---    [ anon ]
FFFFFFFF7D7E0000         64         32         32          - rw---    [ anon ]
FFFFFFFF7D800000       9272       8208          -          - r-x--  libjox10.so
FFFFFFFF7E200000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7E20C000        560        560        448          - rwx--  libjox10.so
FFFFFFFF7E300000       1072        112          -          - r-x--  libclsra10.so
FFFFFFFF7E500000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7E50A000         56         40         40          - rwx--  libclsra10.so
FFFFFFFF7E518000          8          -          -          - rwx--  libclsra10.so
FFFFFFFF7E600000       1072        192          -          - r-x--  libocrutl10.so
FFFFFFFF7E800000          8          8          -          - r-x--  libc_psr.so.1
FFFFFFFF7E80A000         56         48         48          - rwx--  libocrutl10.so
FFFFFFFF7E818000          8          -          -          - rwx--  libocrutl10.so
FFFFFFFF7E900000       1376        192          -          - r-x--  libocrb10.so
FFFFFFFF7EB00000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7EB56000         64         56         56          - rwx--  libocrb10.so
FFFFFFFF7EB66000          8          -          -          - rwx--  libocrb10.so
FFFFFFFF7EC00000       1536        256          -          - r-x--  libocr10.so
FFFFFFFF7EE00000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7EE7E000         64         56         56          - rwx--  libocr10.so
FFFFFFFF7EE8E000          8          -          -          - rwx--  libocr10.so
FFFFFFFF7EF00000          8          8          -          - r-x--  libskgxn2.so
FFFFFFFF7F000000          8          8          8          - rwx--  libskgxn2.so
FFFFFFFF7F100000       1752        792          -          - r-x--  libhasgen10.so
FFFFFFFF7F300000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7F3B4000         72         64         64          - rwx--  libhasgen10.so
FFFFFFFF7F3C6000         16          8          8          - rwx--  libhasgen10.so
FFFFFFFF7F400000        144         96          -          - r-x--  libskgxp10.so
FFFFFFFF7F500000          8          8          8          - rwx--    [ anon ]
FFFFFFFF7F522000         16         16         16          - rwx--  libskgxp10.so
FFFFFFFF7F600000        216        216          -          - r-x--  ld.so.1
FFFFFFFF7F700000          8          8          -          - r-x--  libsched.so.1
FFFFFFFF7F736000         16         16         16          - rwx--  ld.so.1
FFFFFFFF7F73A000          8          8          8          - rwx--  ld.so.1
FFFFFFFF7F7B8000          8          8          -          - rwxs-    [ anon ]
FFFFFFFF7FFDE000        136        136        136          - rw---    [ stack ]
---------------- ---------- ---------- ---------- ----------
        total Kb     848000     837472       3768     716816
&gt;./procmm.sh  18918

-- procmm.sh: Process Memory Matrix v1.02 by Tanel Poder ( http://tech.e2sn.com )
-- All numbers are shown in kilobytes

PID            SEGMENT_TYPE      VIRTUAL          RSS         ANON       LOCKED    SWAP_RSVD
------ -------------------- ------------ ------------ ------------ ------------ ------------
18918                 stack          136          136          136            0          136
18918                  anon         1496         1328         1304            0         1488
18918                   lib        23064        14000         1232            0         1512
------ -------------------- ------------ ------------ ------------ ------------ ------------
18918             TOTAL(kB)        24696        15464         2672            0         3136
 

Thanks,
Max</description>
		<content:encoded><![CDATA[<p>Hi Tanel,</p>
<p>The original process has logged out. Here is another example when both commands ran immediately one after another:</p>
<p>&gt;pmap -x 18918<br />
18918:  oraclelpiweb (LOCAL=NO)<br />
         Address     Kbytes        RSS       Anon     Locked Mode   Mapped File<br />
0000000100000000     103696     103624          &#8211;          &#8211; r-x&#8211;  oracle<br />
0000000106642000        832        656        208          &#8211; rwx&#8211;  oracle<br />
0000000106712000       1960        912        888          &#8211; rwx&#8211;    [ heap ]<br />
0000000380000000     188416     188416          &#8211;     188416 rwxsR    [ ism shmid=0x6a00002c ]<br />
00000003C0000000     172032     172032          &#8211;     172032 rwxsR    [ ism shmid=0x50000032 ]<br />
0000000400000000     180224     180224          &#8211;     180224 rwxsR    [ ism shmid=0x6c000038 ]<br />
0000000440000000     176128     176128          &#8211;     176128 rwxsR    [ ism shmid=0xf000042 ]<br />
0000000480000000         16         16          &#8211;         16 rwxsR    [ ism shmid=0x7b000043 ]<br />
FFFFFFFF7BA60000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7BAC0000         64         40         40          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7BAD0000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7BAE0000         64         40         40          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7BB00000         16         16          &#8211;          &#8211; r-x&#8211;  liblgrp.so.1<br />
FFFFFFFF7BC04000          8          8          8          &#8211; rwx&#8211;  liblgrp.so.1<br />
FFFFFFFF7BD00000         56         56          &#8211;          &#8211; r-x&#8211;  libmd.so.1<br />
FFFFFFFF7BE0E000          8          8          8          &#8211; rwx&#8211;  libmd.so.1<br />
FFFFFFFF7BF00000        640        472          &#8211;          &#8211; r-x&#8211;  libm.so.2<br />
FFFFFFFF7C09E000         40         32         24          &#8211; rwx&#8211;  libm.so.2<br />
FFFFFFFF7C100000         32         32          &#8211;          &#8211; r-x&#8211;  librt.so.1<br />
FFFFFFFF7C208000          8          8          8          &#8211; rwx&#8211;  librt.so.1<br />
FFFFFFFF7C300000         32         32          &#8211;          &#8211; r-x&#8211;  libaio.so.1<br />
FFFFFFFF7C408000          8          8          8          &#8211; rwx&#8211;  libaio.so.1<br />
FFFFFFFF7C500000       1264        896          &#8211;          &#8211; r-x&#8211;  libc.so.1<br />
FFFFFFFF7C700000         64         32         32          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7C73C000         72         72         72          &#8211; rwx&#8211;  libc.so.1<br />
FFFFFFFF7C74E000          8          &#8211;          &#8211;          &#8211; rwx&#8211;  libc.so.1<br />
FFFFFFFF7C800000          8          8          &#8211;          &#8211; r-x&#8211;  libdl.so.1<br />
FFFFFFFF7C902000          8          8          8          &#8211; rwx&#8211;  libdl.so.1<br />
FFFFFFFF7CA00000         32         32          &#8211;          &#8211; r-x&#8211;  libgen.so.1<br />
FFFFFFFF7CB08000          8          8          8          &#8211; rwx&#8211;  libgen.so.1<br />
FFFFFFFF7CC00000         56         56          &#8211;          &#8211; r-x&#8211;  libsocket.so.1<br />
FFFFFFFF7CD00000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7CD0E000         16         16         16          &#8211; rwx&#8211;  libsocket.so.1<br />
FFFFFFFF7CE00000        688        448          &#8211;          &#8211; r-x&#8211;  libnsl.so.1<br />
FFFFFFFF7CF00000         64         16         16          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF10000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF20000         64         64         56          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF30000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF40000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF50000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF60000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CF70000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7CFAC000         64         64         64          &#8211; rwx&#8211;  libnsl.so.1<br />
FFFFFFFF7CFBC000         32         32         24          &#8211; rwx&#8211;  libnsl.so.1<br />
FFFFFFFF7D000000          8          8          &#8211;          &#8211; r-x&#8211;  libkstat.so.1<br />
FFFFFFFF7D102000          8          8          8          &#8211; rwx&#8211;  libkstat.so.1<br />
FFFFFFFF7D200000       2184        408          &#8211;          &#8211; r-x&#8211;  libnnz10.so<br />
FFFFFFFF7D500000         64         64         64          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7D520000        240        216        200          &#8211; rwx&#8211;  libnnz10.so<br />
FFFFFFFF7D55C000          8          &#8211;          &#8211;          &#8211; rwx&#8211;  libnnz10.so<br />
FFFFFFFF7D600000         72         72          &#8211;          &#8211; r-x&#8211;  libdbcfg10.so<br />
FFFFFFFF7D700000         24         16         16          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7D710000          8          8          8          &#8211; rwx&#8211;  libdbcfg10.so<br />
FFFFFFFF7D770000         64         64         56          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D780000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D790000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D7A0000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D7B0000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D7C0000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D7D0000         64         64         64          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D7E0000         64         32         32          &#8211; rw&#8212;    [ anon ]<br />
FFFFFFFF7D800000       9272       8208          &#8211;          &#8211; r-x&#8211;  libjox10.so<br />
FFFFFFFF7E200000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7E20C000        560        560        448          &#8211; rwx&#8211;  libjox10.so<br />
FFFFFFFF7E300000       1072        112          &#8211;          &#8211; r-x&#8211;  libclsra10.so<br />
FFFFFFFF7E500000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7E50A000         56         40         40          &#8211; rwx&#8211;  libclsra10.so<br />
FFFFFFFF7E518000          8          &#8211;          &#8211;          &#8211; rwx&#8211;  libclsra10.so<br />
FFFFFFFF7E600000       1072        192          &#8211;          &#8211; r-x&#8211;  libocrutl10.so<br />
FFFFFFFF7E800000          8          8          &#8211;          &#8211; r-x&#8211;  libc_psr.so.1<br />
FFFFFFFF7E80A000         56         48         48          &#8211; rwx&#8211;  libocrutl10.so<br />
FFFFFFFF7E818000          8          &#8211;          &#8211;          &#8211; rwx&#8211;  libocrutl10.so<br />
FFFFFFFF7E900000       1376        192          &#8211;          &#8211; r-x&#8211;  libocrb10.so<br />
FFFFFFFF7EB00000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7EB56000         64         56         56          &#8211; rwx&#8211;  libocrb10.so<br />
FFFFFFFF7EB66000          8          &#8211;          &#8211;          &#8211; rwx&#8211;  libocrb10.so<br />
FFFFFFFF7EC00000       1536        256          &#8211;          &#8211; r-x&#8211;  libocr10.so<br />
FFFFFFFF7EE00000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7EE7E000         64         56         56          &#8211; rwx&#8211;  libocr10.so<br />
FFFFFFFF7EE8E000          8          &#8211;          &#8211;          &#8211; rwx&#8211;  libocr10.so<br />
FFFFFFFF7EF00000          8          8          &#8211;          &#8211; r-x&#8211;  libskgxn2.so<br />
FFFFFFFF7F000000          8          8          8          &#8211; rwx&#8211;  libskgxn2.so<br />
FFFFFFFF7F100000       1752        792          &#8211;          &#8211; r-x&#8211;  libhasgen10.so<br />
FFFFFFFF7F300000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7F3B4000         72         64         64          &#8211; rwx&#8211;  libhasgen10.so<br />
FFFFFFFF7F3C6000         16          8          8          &#8211; rwx&#8211;  libhasgen10.so<br />
FFFFFFFF7F400000        144         96          &#8211;          &#8211; r-x&#8211;  libskgxp10.so<br />
FFFFFFFF7F500000          8          8          8          &#8211; rwx&#8211;    [ anon ]<br />
FFFFFFFF7F522000         16         16         16          &#8211; rwx&#8211;  libskgxp10.so<br />
FFFFFFFF7F600000        216        216          &#8211;          &#8211; r-x&#8211;  ld.so.1<br />
FFFFFFFF7F700000          8          8          &#8211;          &#8211; r-x&#8211;  libsched.so.1<br />
FFFFFFFF7F736000         16         16         16          &#8211; rwx&#8211;  ld.so.1<br />
FFFFFFFF7F73A000          8          8          8          &#8211; rwx&#8211;  ld.so.1<br />
FFFFFFFF7F7B8000          8          8          &#8211;          &#8211; rwxs-    [ anon ]<br />
FFFFFFFF7FFDE000        136        136        136          &#8211; rw&#8212;    [ stack ]<br />
&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
        total Kb     848000     837472       3768     716816<br />
&gt;./procmm.sh  18918</p>
<p>&#8211; procmm.sh: Process Memory Matrix v1.02 by Tanel Poder ( <a href="http://tech.e2sn.com" rel="nofollow">http://tech.e2sn.com</a> )<br />
&#8211; All numbers are shown in kilobytes</p>
<p>PID            SEGMENT_TYPE      VIRTUAL          RSS         ANON       LOCKED    SWAP_RSVD<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
18918                 stack          136          136          136            0          136<br />
18918                  anon         1496         1328         1304            0         1488<br />
18918                   lib        23064        14000         1232            0         1512<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
18918             TOTAL(kB)        24696        15464         2672            0         3136</p>
<p>Thanks,<br />
Max</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4900</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Fri, 30 Jul 2010 06:07:35 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4900</guid>
		<description>&lt;a href=&quot;#comment-4899&quot; rel=&quot;nofollow&quot;&gt;@Max&lt;/a&gt; 
Can you send me the full output of both commands?

As which user are you running this command? (is the oracle user or a member of dba group)?

procmm should report more output than the current (for example the shared mem segments etc).</description>
		<content:encoded><![CDATA[<p><a href="#comment-4899" rel="nofollow">@Max</a><br />
Can you send me the full output of both commands?</p>
<p>As which user are you running this command? (is the oracle user or a member of dba group)?</p>
<p>procmm should report more output than the current (for example the shared mem segments etc).</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Max</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4899</link>
		<dc:creator>Max</dc:creator>
		<pubDate>Fri, 30 Jul 2010 02:36:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4899</guid>
		<description>Can anyone please explain the following output from &quot;pmap&quot; and &quot;procmm.sh&quot;, where the number for &quot;Anon&quot; from &quot;pmap&quot; is more likely &quot;SWAP_RSVD&quot; from &quot;procmm.sh&quot;?

# pmap -x 20211
20211:  oraclelpiweb (LOCAL=NO)
         Address     Kbytes        RSS       Anon     Locked Mode   Mapped File
0000000100000000     103696     103392          -          - r-x--  oracle
0000000106642000        832        560        208          - rwx--  oracle
...
FFFFFFFF7FFE8000         96         96         96          - rw---    [ stack ]
---------------- ---------- ---------- ---------- ----------
        total Kb     847512     837128       2736     716816


# ./procmm.sh 20211

-- procmm.sh: Process Memory Matrix v1.02 by Tanel Poder ( http://tech.e2sn.com )
-- All numbers are shown in kilobytes

PID            SEGMENT_TYPE      VIRTUAL          RSS         ANON       LOCKED    SWAP_RSVD
------ -------------------- ------------ ------------ ------------ ------------ ------------
20211                 stack           96           96           96            0           96
20211                  anon         1048          960          816            0         1040
20211                   lib        23064        14392          944            0         1512
------ -------------------- ------------ ------------ ------------ ------------ ------------
20211             TOTAL(kB)        24208        15448         1856            0         2648</description>
		<content:encoded><![CDATA[<p>Can anyone please explain the following output from &#8220;pmap&#8221; and &#8220;procmm.sh&#8221;, where the number for &#8220;Anon&#8221; from &#8220;pmap&#8221; is more likely &#8220;SWAP_RSVD&#8221; from &#8220;procmm.sh&#8221;?</p>
<p># pmap -x 20211<br />
20211:  oraclelpiweb (LOCAL=NO)<br />
         Address     Kbytes        RSS       Anon     Locked Mode   Mapped File<br />
0000000100000000     103696     103392          &#8211;          &#8211; r-x&#8211;  oracle<br />
0000000106642000        832        560        208          &#8211; rwx&#8211;  oracle<br />
&#8230;<br />
FFFFFFFF7FFE8000         96         96         96          &#8211; rw&#8212;    [ stack ]<br />
&#8212;&#8212;&#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;- &#8212;&#8212;&#8212;-<br />
        total Kb     847512     837128       2736     716816</p>
<p># ./procmm.sh 20211</p>
<p>&#8211; procmm.sh: Process Memory Matrix v1.02 by Tanel Poder ( <a href="http://tech.e2sn.com" rel="nofollow">http://tech.e2sn.com</a> )<br />
&#8211; All numbers are shown in kilobytes</p>
<p>PID            SEGMENT_TYPE      VIRTUAL          RSS         ANON       LOCKED    SWAP_RSVD<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
20211                 stack           96           96           96            0           96<br />
20211                  anon         1048          960          816            0         1040<br />
20211                   lib        23064        14392          944            0         1512<br />
&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212; &#8212;&#8212;&#8212;&#8212;<br />
20211             TOTAL(kB)        24208        15448         1856            0         2648</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4864</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Mon, 19 Jul 2010 11:25:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4864</guid>
		<description>&lt;a href=&quot;#comment-4863&quot; rel=&quot;nofollow&quot;&gt;@maclean&lt;/a&gt; 
Thanks, do you have an example output of svmon -P? (believe it or not, but I don&#039;t have an AIX box in my garage ;-)

By the way, I&#039;ve updated the script and fixed the earlier problems with it (which caused AWK to fail)</description>
		<content:encoded><![CDATA[<p><a href="#comment-4863" rel="nofollow">@maclean</a><br />
Thanks, do you have an example output of svmon -P? (believe it or not, but I don&#8217;t have an AIX box in my garage ;-)</p>
<p>By the way, I&#8217;ve updated the script and fixed the earlier problems with it (which caused AWK to fail)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: maclean</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4863</link>
		<dc:creator>maclean</dc:creator>
		<pubDate>Mon, 19 Jul 2010 10:42:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4863</guid>
		<description>till aix 6.1 , procmap command do not show anon segment and stack detail,
Maybe workaround way is utilizing &quot;svmon -P&quot;  , but it reports in another style format.</description>
		<content:encoded><![CDATA[<p>till aix 6.1 , procmap command do not show anon segment and stack detail,<br />
Maybe workaround way is utilizing &#8220;svmon -P&#8221;  , but it reports in another style format.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tanel Poder</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4371</link>
		<dc:creator>Tanel Poder</dc:creator>
		<pubDate>Thu, 15 Apr 2010 09:32:43 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4371</guid>
		<description>I&#039;ve fixed the AWK problem in the script (by replacing awk with nawk), so it should work now...</description>
		<content:encoded><![CDATA[<p>I&#8217;ve fixed the AWK problem in the script (by replacing awk with nawk), so it should work now&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carey holman</title>
		<link>http://blog.tanelpoder.com/2010/02/11/using-process-memory-matrix-script-for-calculating-oracle-process-memory-usage-on-solaris/comment-page-1/#comment-4314</link>
		<dc:creator>carey holman</dc:creator>
		<pubDate>Sun, 04 Apr 2010 01:16:14 +0000</pubDate>
		<guid isPermaLink="false">http://blog.tanelpoder.com/?p=604#comment-4314</guid>
		<description>&lt;a href=&quot;#comment-3902&quot; rel=&quot;nofollow&quot;&gt;@Taral &lt;/a&gt; I had the same problem.  Try nawk instead of awk.</description>
		<content:encoded><![CDATA[<p><a href="#comment-3902" rel="nofollow">@Taral </a> I had the same problem.  Try nawk instead of awk.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

