[Info-vax] show sys command output
Sergejus Zabinskis
sergejusz at gmail.com
Fri Jul 14 07:34:26 EDT 2017
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
More information about the Info-vax
mailing list