HPE Community read-only access December 15, 2018
This is a maintenance upgrade. You will be able to read articles and posts, but not post or reply.
Hours:
Dec 15, 4:00 am to 10:00 am UTC
Dec 14, 10:00 pm CST to Dec 15, 4:00 am CST
Dec 14, 8:00 pm PST to Dec 15, 2:00 am PST
Operating System - OpenVMS
cancel
Showing results for 
Search instead for 
Did you mean: 

Getting pagefile usage per process

 
Magnus Banck
Occasional Visitor

Getting pagefile usage per process

Items SYI$_PAGEFILE_PAGE/SYI$_PAGEFILE_FREE is just telling me how much is used in total.

But who is using the pagefile and how much?

As I understand it, in recent versions (v7.3 and on) JPI$_PGFLQUOTA and JPI$_PAGFILCNT deals with reserved pages, not actual usage.

Is there any cell that tells me how much a particular process is using? Found cells PHD$S_PAGEFILE_REFS, I suppose that is the same as "Pagefile refcnt" in SDA SHOW PROC/PHD. But I am unsure if this is the right place, and how to interprete the value.

Can someone point me in the right direction?
1 REPLY
Volker Halle
Honored Contributor

Re: Getting pagefile usage per process

Magnus,

an absolute correct count at any point of time will be provided by:

$ ANAL/SYS
SDA> SET PROC/IND=
SDA> SET OUT/NOINDEX x.x
SDA> SHOW PROC/PAGE
SDA> EXIT
$ SEA x.x PGFIL/NOOUT/STAT

I seem to remember that John Gillings has answered similar questions in the past, so I'll leave it to him to explain a less resource-intensive answer to your question.

Volker.