[Info-vax] show sys command output
VAXman- at SendSpamHere.ORG
VAXman- at SendSpamHere.ORG
Fri Jul 14 08:17:13 EDT 2017
In article <oka796$gku$2 at news.albasani.net>, Jan-Erik Soderholm <jan-erik.soderholm at telia.com> writes:
>Den 2017-07-14 kl. 12:19, skrev VAXman- at SendSpamHere.ORG:
>> In article <oka2lh$gku$1 at news.albasani.net>, Jan-Erik Soderholm <jan-erik.soderholm at telia.com> writes:
>>> Den 2017-07-14 kl. 11:07, skrev Sergejus Zabinskis:
>>>> Hi all,
>>>>
>>>>
>>>> Maybe somebody knows exactly the meaning of last column (Pages) for this command:
>>>>
>>>> $ sh sys/node=abcd/own=dml_2016
>>>>
>>>> Pid Process Name State Pri I/O CPU Page flts Pages
>>>> 2608C82C DML_SERVER_2016 HIB 6 4033997 0 00:17:18.93 16214 16662 M
>>>>
>>>> I get here value 16662 M for Pages column.
>>>>
>>>> And is it possible to get this value using DCL f$getjpi( pid, item ) call(s) ?
>>>>
>>>>
>>>> Kind regards
>>>> Sergejus
>>>>
>>>
>>> Not sure for the "pages" (I had guessed WSSIZE, but I do not get the
>>> same values even after scaling). But the "M" is item "MULTITHREAD"...
>>
>> $ WRITE SYS$OUTPUT (F$getjpi(PID,"GPGCNT")+F$getjpi(PID,"PPGCNT"))/(F$getsyi("PAGE_SIZE")/512)
>>
>
>OK, thanks! Even if it wasn't me who asked... :-) I think I have noticed
>before that the "pages" value didn't matched any single getjpi item.
>
>Now, if I would like to know the actual *physical* memory taken up by a
>specific process, is it still the same two fields? The GPGCNT pages are
>pages that are (or can be) shared by multiple processes and then doesn't
>take any additional physical memory for each process, not?
The values returned by GPGCNT and PPGCNT are 512 byte VAX pages or what VMS
engineering later termed a pagelet when larger page sizes were available on
both Alpha and Itanium. F$getsyi("PAGE_SIZE") will return the page size of
the current architecture in bytes. A division by 512 will provide a factor
that can be used to express the pagelets returned by GPGCNT and PPGCNT as a
number of architecture specific pages as you see in the SHOW SYSTEM output.
--
VAXman- A Bored Certified VMS Kernel Mode Hacker VAXman(at)TMESIS(dot)ORG
I speak to machines with the voice of humanity.
More information about the Info-vax
mailing list