<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to get dynamic memory information from another running process? in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954056#M22565</link>
    <description>i mean how many dynamic memory the running process uses.&lt;BR /&gt;for your own process, you can type $sho proc/mem to show the PDMA. but how to know the value from another process which you donot own?&lt;BR /&gt;&lt;BR /&gt;also, is there any value-related between dynamic memory and physical memory?&lt;BR /&gt;the physical memory i calculated is far more then the dynamic memory...</description>
    <pubDate>Mon, 23 Jan 2006 01:33:17 GMT</pubDate>
    <dc:creator>Davor_7</dc:creator>
    <dc:date>2006-01-23T01:33:17Z</dc:date>
    <item>
      <title>How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954052#M22561</link>
      <description>i know the running process's id/name.&lt;BR /&gt;my login account has the all privilege.&lt;BR /&gt;&lt;BR /&gt;i want to know the dynamic memory usage for this running process after my account login.&lt;BR /&gt;how can i do that?</description>
      <pubDate>Sun, 22 Jan 2006 21:32:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954052#M22561</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-22T21:32:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954053#M22562</link>
      <description>Have you looked at the lexical function F$GETJPI(PID,ITEM)?&lt;BR /&gt;It allows to gather much info from processes including e.g. the varias working set sizes, virtualpagecount ...&lt;BR /&gt;&lt;BR /&gt;regards Kalle</description>
      <pubDate>Mon, 23 Jan 2006 00:51:08 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954053#M22562</guid>
      <dc:creator>Karl Rohwedder</dc:creator>
      <dc:date>2006-01-23T00:51:08Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954054#M22563</link>
      <description>yes.&lt;BR /&gt;now i have known how to get the physical memory usage of a process.&lt;BR /&gt;but how to know a dynamic memory usage ?&lt;BR /&gt;no idea...</description>
      <pubDate>Mon, 23 Jan 2006 01:12:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954054#M22563</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T01:12:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954055#M22564</link>
      <description>Davor,&lt;BR /&gt;&lt;BR /&gt;Can you explain exactly what _YOU_ mean by&lt;BR /&gt;"dynamic memory information"?&lt;BR /&gt;&lt;BR /&gt;Dave&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 01:20:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954055#M22564</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2006-01-23T01:20:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954056#M22565</link>
      <description>i mean how many dynamic memory the running process uses.&lt;BR /&gt;for your own process, you can type $sho proc/mem to show the PDMA. but how to know the value from another process which you donot own?&lt;BR /&gt;&lt;BR /&gt;also, is there any value-related between dynamic memory and physical memory?&lt;BR /&gt;the physical memory i calculated is far more then the dynamic memory...</description>
      <pubDate>Mon, 23 Jan 2006 01:33:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954056#M22565</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T01:33:17Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954057#M22566</link>
      <description>What problem are you trying to solve?&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 01:40:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954057#M22566</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2006-01-23T01:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954058#M22567</link>
      <description>i use this command to get the physical memory utilizaion and calculate all the independant process&lt;BR /&gt;$ mem=F$GETJPI(pid,"PPGCNT")+F$GETJPI(pid,"GPGCNT")&lt;BR /&gt;as HP says, the result for this command is a unit of "page", you know 1 page = 8KB in alpha&lt;BR /&gt;so, i summarize the whole result but see it's &amp;gt;100G. the physical memory in my node is just &amp;lt;10G...  how come?&lt;BR /&gt;this is my problem...</description>
      <pubDate>Mon, 23 Jan 2006 02:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954058#M22567</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T02:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954059#M22568</link>
      <description>Davor,&lt;BR /&gt;&lt;BR /&gt;PPGCNT (process private pages) and GPGCNT (process global pages) are measured in PAGELETS = 512 bytes, the size of the old VAX page.&lt;BR /&gt;&lt;BR /&gt;Global pages are also shared between multiple processes and a global page mapped by multiple processes only exists ONCE in physical memory, so you can't add those numbers.&lt;BR /&gt;&lt;BR /&gt;The term 'dynamic memory' actually refers to the Process Dynamic Memory Area shown by SHOW PROC/MEMORY, which is a process-private pool of memory in P1 space.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 23 Jan 2006 02:22:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954059#M22568</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-01-23T02:22:38Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954060#M22569</link>
      <description>Firstly, the counts returned in PPGCNT and GPGCNT&lt;BR /&gt;do not necessarily reflect physical memory usage.&lt;BR /&gt;Secondly, by counting the GPGCNT for every process,&lt;BR /&gt;you are ignoring the fact that the global pages are&lt;BR /&gt;likely to be shared... and should therefore NOT&lt;BR /&gt;be counted multiple times.&lt;BR /&gt;You also need to take into account that pages are&lt;BR /&gt;not necessarily in memory but may be in a pagefile&lt;BR /&gt;or other disk file (images).&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 02:26:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954060#M22569</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2006-01-23T02:26:48Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954061#M22570</link>
      <description>you mentioned that:&lt;BR /&gt;PPGCNT (process private pages) and GPGCNT (process global pages) are measured in PAGELETS = 512 bytes, the size of the old VAX page.&lt;BR /&gt;&lt;BR /&gt;but from HP.&lt;BR /&gt;it says that it's the "page" unit&lt;BR /&gt;pls refer to:&lt;BR /&gt;For a given process with PID in the symbol "pid", the total number of pages&lt;BR /&gt;  currently in the working set is:&lt;BR /&gt; &lt;BR /&gt; $ mem=F$GETJPI(pid,"PPGCNT")+F$GETJPI(pid,"GPGCNT")&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 02:28:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954061#M22570</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T02:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954062#M22571</link>
      <description>To david &amp;amp; Halle&lt;BR /&gt;&lt;BR /&gt;yes. global pages are shared.&lt;BR /&gt;but even if i only calculate with the private pages. it's also very huge...</description>
      <pubDate>Mon, 23 Jan 2006 02:30:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954062#M22571</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T02:30:01Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954063#M22572</link>
      <description>Yes the number may be huge, but you are ignoring&lt;BR /&gt;the fact that pages in the working set may not&lt;BR /&gt;be physically in memory.&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 02:32:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954063#M22572</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2006-01-23T02:32:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954064#M22573</link>
      <description>Davor,&lt;BR /&gt;&lt;BR /&gt;please have a look in the System Services Manual for explanation of the arguments to the $GETJPI system service:&lt;BR /&gt;&lt;BR /&gt;JPI$_PPGCNT&lt;BR /&gt;Returns the number of pages (on VAX systems) or pagelets (on Alpha and I64 systems) the process has in the working set. This is a longword integer value. &lt;BR /&gt;&lt;BR /&gt;These are the process-private pagelets in the process working set, so they WILL be in physical memory at that time.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 23 Jan 2006 02:34:18 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954064#M22573</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-01-23T02:34:18Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954065#M22574</link>
      <description>To Halle&lt;BR /&gt;  all right, now we have 2 versions for the PPGCNT output, hehe. manual says it's pagelet but HP website says it's page... which is the correct?&lt;BR /&gt;and btw, if i do the calculation for all the process, i believe the physical memory size for total process is beyond the physical memory for the alpha machine...&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;To david&lt;BR /&gt;as you said, the pages in working set are not physically in the memory at all.&lt;BR /&gt;i lost my way... if it's true, how to know how many physical memory a process uses ??(return to the original question, hehe)</description>
      <pubDate>Mon, 23 Jan 2006 02:41:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954065#M22574</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T02:41:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954066#M22575</link>
      <description>Hi Halle,&lt;BR /&gt;&lt;BR /&gt;i target the service manual...&lt;BR /&gt;so i think maybe the words on HP website is suitable to VAX (cannot say it's wrong...)&lt;BR /&gt;&lt;BR /&gt;thanks~&lt;BR /&gt;&lt;BR /&gt;now i'm confused with what David said... the pages in working set are not all physically in the memory&lt;BR /&gt;do you have any idea?</description>
      <pubDate>Mon, 23 Jan 2006 02:44:57 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954066#M22575</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T02:44:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954067#M22576</link>
      <description>Davor,&lt;BR /&gt;&lt;BR /&gt;terminology around pages/pagelets can sometimes be confusing, if you consider the 3 different architectures OpenVMS is running on.&lt;BR /&gt;&lt;BR /&gt;From the IDSM (OpenVMS Internals and Datastructures Manual - Chapter 19):&lt;BR /&gt;&lt;BR /&gt;The term working set refers to the virutal pages of a process that are currently valid and in physical memory.&lt;BR /&gt;&lt;BR /&gt;And let's ask again: what is the problem your're trying to solve ? Is there a real problem ?&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Mon, 23 Jan 2006 02:57:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954067#M22576</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-01-23T02:57:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954068#M22577</link>
      <description>Yes, working set is a Volker states (my error).&lt;BR /&gt;This question has been asked in comp.os.vms and&lt;BR /&gt;I am trying to find an answer I remember seeing&lt;BR /&gt;that describes the situation very, very clearly.&lt;BR /&gt;I will post the link if I can find the article.&lt;BR /&gt;</description>
      <pubDate>Mon, 23 Jan 2006 03:07:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954068#M22577</guid>
      <dc:creator>David B Sneddon</dc:creator>
      <dc:date>2006-01-23T03:07:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954069#M22578</link>
      <description>it's a performance problem&lt;BR /&gt;we will do a improvement which will cause many new process to run on the system. regard to the physical memory i wanna confirm whether the change can be implemented.&lt;BR /&gt;&lt;BR /&gt;btw, do you have the soft copy of IDSM (OpenVMS Internals and Datastructures Manual) ? i cannot find it in the web...&lt;BR /&gt;&lt;BR /&gt;and also, you mentioned:&lt;BR /&gt;The term working set refers to the virutal pages of a process that are currently valid and in physical memory.&lt;BR /&gt;my understand is that the size of working set(pagelet) is equal to the consumption of physical memory, is that correct?</description>
      <pubDate>Mon, 23 Jan 2006 03:08:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954069#M22578</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T03:08:52Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954070#M22579</link>
      <description>thanks David,&lt;BR /&gt;&lt;BR /&gt;very looking forward to your link...</description>
      <pubDate>Mon, 23 Jan 2006 03:10:56 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954070#M22579</guid>
      <dc:creator>Davor_7</dc:creator>
      <dc:date>2006-01-23T03:10:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to get dynamic memory information from another running process?</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954071#M22580</link>
      <description>Davor,&lt;BR /&gt;&lt;BR /&gt;the IDSM is a book from Digital Press, that you need to buy (ISBN 1-55558-120-X).&lt;BR /&gt;&lt;BR /&gt;The working set is made up by process private and global page(let)s. If you will create a lot of new processes (of the same type and memory usage charateristics), you could expect the physical memory usage to increase by &lt;AVG. ppgcnt="" of="" existing="" procesess=""&gt; times &lt;NO. of="" new="" processes=""&gt;.&lt;BR /&gt;&lt;BR /&gt;Consider to use SYS$EXAMPLES:WORKING_SET.COM and modify it to also print PPGCNT and GPGCNT.&lt;BR /&gt;&lt;BR /&gt;Volker.&lt;/NO.&gt;&lt;/AVG.&gt;</description>
      <pubDate>Mon, 23 Jan 2006 03:34:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/how-to-get-dynamic-memory-information-from-another-running/m-p/4954071#M22580</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2006-01-23T03:34:51Z</dc:date>
    </item>
  </channel>
</rss>

