<?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: query on show system output in Operating System - OpenVMS</title>
    <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169496#M94207</link>
    <description>tell me how can I get the same number for pages value from the lexical function as we get in "show system" output</description>
    <pubDate>Wed, 15 Apr 2009 03:54:11 GMT</pubDate>
    <dc:creator>Sunil Kumar H G</dc:creator>
    <dc:date>2009-04-15T03:54:11Z</dc:date>
    <item>
      <title>query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169491#M94202</link>
      <description>I want to know what last two coloumns of  "show system" command output REALLY mean and how can I get those values using lexicals if I have pid?</description>
      <pubDate>Tue, 14 Apr 2009 11:46:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169491#M94202</guid>
      <dc:creator>Sunil Kumar H G</dc:creator>
      <dc:date>2009-04-14T11:46:02Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169492#M94203</link>
      <description>Sunil,&lt;BR /&gt;&lt;BR /&gt;the OpenVMS DCL Dictionary manual explains the SHOW SYSTEM command and output in great detail:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h71000.www7.hp.com/doc/83final/9996/9996pro_262.html#brass_126" target="_blank"&gt;http://h71000.www7.hp.com/doc/83final/9996/9996pro_262.html#brass_126&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;The columns of the SHOW SYSTEM output have titles above them. Which columns are you talking about ? 'Page flts' and 'Pages' ? Note there is another possible 'last' column, which lists the process type (M,B,S,N).&lt;BR /&gt;&lt;BR /&gt;The arguments for F$GETJPI are explained in HELP LEX F$GETJPI ARG and also in even more detail, in the same manual as pointed out above.&lt;BR /&gt;&lt;BR /&gt;PAGEFLTS  Integer  Count of page faults.  &lt;BR /&gt;PPGCNT  Integer  Process page count &lt;BR /&gt;&lt;BR /&gt;Note that PPGCNT is measured in pagelets, but SHOW SYSTEM may show it in hardware pagesize units, depending on the architecture you're running at.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Tue, 14 Apr 2009 12:06:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169492#M94203</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-04-14T12:06:07Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169493#M94204</link>
      <description>Sunil,&lt;BR /&gt;&lt;BR /&gt;Welcome to the HP ITRC Forum!&lt;BR /&gt;&lt;BR /&gt;The output of the SHOW SYSTEM command is well described in the HELP text for the SHOW SYSTEM command. In particular, HELP SHOW SYSTEM EXAMPLE will give a full explication of each item in the displayed output.&lt;BR /&gt;&lt;BR /&gt;Trying to be as simple as I can, the "page fault" count is the cumulative number of times that a memory location has been referenced where the page containing the memory location has not been in the process' working set. This is a cumulative count for each process, and is retrievable using the F$GETJPI DCL lexical function (or equivalent system service) using the PAGEFLTS parameter).&lt;BR /&gt;&lt;BR /&gt;The last number is the number of currently active pages for the process.&lt;BR /&gt;&lt;BR /&gt;- Bob Gezelter, &lt;A href="http://www.rlgsc.com" target="_blank"&gt;http://www.rlgsc.com&lt;/A&gt;</description>
      <pubDate>Tue, 14 Apr 2009 12:06:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169493#M94204</guid>
      <dc:creator>Robert Gezelter</dc:creator>
      <dc:date>2009-04-14T12:06:44Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169494#M94205</link>
      <description>Off the top, the following should be pretty close:&lt;BR /&gt;&lt;BR /&gt;$ FAULTS = F$GETJPI("0","PAGEFLTS")&lt;BR /&gt;$ GPGCNT = F$GETJPI("0","GPGCNT")&lt;BR /&gt;$ PPGCNT = F$GETJPI("0","PPGCNT")&lt;BR /&gt;$ PAGES = GPGCNT + PPGCNT&lt;BR /&gt;&lt;BR /&gt;Now.  &lt;BR /&gt;&lt;BR /&gt;Why are you looking for page faults and memory pages and related data from SHOW SYSTEM?  &lt;BR /&gt;&lt;BR /&gt;The answer to that question almost always far more central to the problem you are looking to solve here.&lt;BR /&gt;&lt;BR /&gt;That answer can go toward the usual "buy more memory" answer, or the "offload the box" answer, or "send more of the interactive stuff into fewer batch queues" or "buy a bigger OpenVMS VAX, OpenVMS Alpha or OpenVMS I64 box.  Sometimes toward upgrading the OpenVMS version.&lt;BR /&gt;&lt;BR /&gt;Often toward "load and run T4" tool to see what's going on, too.&lt;BR /&gt;&lt;BR /&gt;This could sometimes also go toward the "how to find a process virtual memory fragmentation or a virtual memory leak" discussion, too.&lt;BR /&gt;&lt;BR /&gt;Probably a couple of other directions, too.&lt;BR /&gt;&lt;BR /&gt;So.  What's the real question?&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 14 Apr 2009 12:10:16 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169494#M94205</guid>
      <dc:creator>Hoff</dc:creator>
      <dc:date>2009-04-14T12:10:16Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169495#M94206</link>
      <description>Hi volker,&lt;BR /&gt; &lt;BR /&gt; I was talking about the "pages" and "type of process coloumn" &lt;BR /&gt;&lt;BR /&gt;I tried to get the pages value for one process using "ppgcnt" parameter to f$getjpi function.I got a different number than what "show system" was showing for that perticular process.&lt;BR /&gt;&lt;BR /&gt;And I got to know that type of process we can decide by passing "mode" parameter to f$getjpi and to decide whether the process is multithreaded or not we need to pass "multithread"to f$getjpi.Am I right? pls tel me what is the return valut for this call actually stands for</description>
      <pubDate>Wed, 15 Apr 2009 02:43:00 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169495#M94206</guid>
      <dc:creator>Sunil Kumar H G</dc:creator>
      <dc:date>2009-04-15T02:43:00Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169496#M94207</link>
      <description>tell me how can I get the same number for pages value from the lexical function as we get in "show system" output</description>
      <pubDate>Wed, 15 Apr 2009 03:54:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169496#M94207</guid>
      <dc:creator>Sunil Kumar H G</dc:creator>
      <dc:date>2009-04-15T03:54:11Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169497#M94208</link>
      <description>Sunil,&lt;BR /&gt;&lt;BR /&gt;PPGCNT and GPGCNT are returned in pagelets (units of 512 bytes). The Mem column in SHOW SYSTEM shows the phyical memory used in 'real' PAGES, i.e. PAGE_SIZE bytes per page (8 kb for Alpha).&lt;BR /&gt;&lt;BR /&gt;F$GETJPI(,"MULTITHREAD") returns either 0 (false) or 1 (true) to indicate whether the process is multithreaded or not.&lt;BR /&gt;&lt;BR /&gt;To determine, if the process is a subprocess, you need to compare it's PID against MASTER_PID. If they are not the same, it's a subprocess.&lt;BR /&gt;&lt;BR /&gt;I've attached a little DCL procedure to show you, how you can determine these parameters.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 15 Apr 2009 05:04:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169497#M94208</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-04-15T05:04:44Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169498#M94209</link>
      <description>Hi Volker,&lt;BR /&gt;&lt;BR /&gt;    You are right.but I have one more doubt. For all other process I got proper value but for my login process still the numbers are different.why?&lt;BR /&gt;&lt;BR /&gt;I have attached output of your script for my login process.&lt;BR /&gt;</description>
      <pubDate>Wed, 15 Apr 2009 05:48:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169498#M94209</guid>
      <dc:creator>Sunil Kumar H G</dc:creator>
      <dc:date>2009-04-15T05:48:05Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169499#M94210</link>
      <description>Sunil,&lt;BR /&gt;&lt;BR /&gt;you are changing the process environment while looking at the process itself. Log in again and then check your first process from the 2nd one. This should provide consistent results.&lt;BR /&gt;&lt;BR /&gt;Volker.</description>
      <pubDate>Wed, 15 Apr 2009 05:52:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169499#M94210</guid>
      <dc:creator>Volker Halle</dc:creator>
      <dc:date>2009-04-15T05:52:13Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169500#M94211</link>
      <description>thanks Volker.&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Sunil</description>
      <pubDate>Wed, 15 Apr 2009 06:23:05 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169500#M94211</guid>
      <dc:creator>Sunil Kumar H G</dc:creator>
      <dc:date>2009-04-15T06:23:05Z</dc:date>
    </item>
    <item>
      <title>Re: query on show system output</title>
      <link>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169501#M94212</link>
      <description>Got solution</description>
      <pubDate>Wed, 15 Apr 2009 06:24:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-openvms/query-on-show-system-output/m-p/5169501#M94212</guid>
      <dc:creator>Sunil Kumar H G</dc:creator>
      <dc:date>2009-04-15T06:24:11Z</dc:date>
    </item>
  </channel>
</rss>

