[Info-vax] show sys command output
Sergejus Zabinskis
sergejusz at gmail.com
Fri Jul 14 08:17:26 EDT 2017
On Friday, July 14, 2017 at 2:14:04 PM UTC+2, Sergejus Zabinskis wrote:
> On Friday, July 14, 2017 at 1:45:20 PM UTC+2, Jan-Erik Soderholm wrote:
> > Den 2017-07-14 kl. 13:34, skrev Sergejus Zabinskis:
> > > On Friday, July 14, 2017 at 12:20:01 PM UTC+2, VAXman- wrote:
> > >> 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)
> > >>
> > >>
> > >>
> > --
> > >> VAXman- A Bored Certified VMS Kernel Mode Hacker
> > >> VAXman(at)TMESIS(dot)ORG
> > >>
> > >> I speak to machines with the voice of humanity.
> > >
> > > Thanks a lot. I made some googling about process memory usage and found
> > > some information about sum PPGCNT + GPGCNT
> > > (http://h41379.www4.hpe.com/wizard/wiz_4414.html). So, sum GPGCNT+PPGCNT
> > > is normalized by number of blocks in page. And what is the size of page
> > > from show sys command ? F$getsyi("PAGE_SIZE") ?
> > >
> > > Kind regards Sergejus
> > >
> >
> >
> > F$getsyi("PAGE_SIZE") depends on your own system. Just try it and check.
> >
> > On my Alpha it is 8192 (8 Kbyte) as expected. So on an Alpha, the command
> > above from VAXman is the same as:
> >
> > $ WRITE SYS$OUTPUT (F$getjpi(PID,"GPGCNT")+F$getjpi(PID,"PPGCNT")) / 16
>
> Ok. But I am slightly confused by terminology. From DCL doc I see that f$getjpi( pid, "GPGCNT" ) returns "Global page count in working set." PPGCNT is for "Process page count." So, why we divide them by 16 ? Does it mean that PPGCNT is really PAGE_SIZE*16 ?
>
> Kind regards
> Sergejus
Correction: In my question "PPGCNT is really PAGE_SIZE*16 ?" I mean that PPGCNT is measured in pages, that are 16 times bigger than PAGE_SIZE.
More information about the Info-vax
mailing list