Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!decvax!ucbvax!GRINNELL.MAILNET!McGuire_Ed From: McGuire_Ed@GRINNELL.MAILNET.UUCP Newsgroups: mod.computers.vax Subject: process quotas Message-ID: <8612161212.AA24465@ucbvax.Berkeley.EDU> Date: Mon, 15-Dec-86 12:47:00 EST Article-I.D.: ucbvax.8612161212.AA24465 Posted: Mon Dec 15 12:47:00 1986 Date-Received: Wed, 17-Dec-86 07:02:20 EST Sender: daemon@ucbvax.BERKELEY.EDU Organization: The ARPA Internet Lines: 17 Approved: info-vax@sri-kl.arpa This is my understanding of process page quotas. Somebody let me know if I've got it wrong. To compute process virtual page count, subtract the process parameter PAGFILCNT from PGFLQUOTA. You can use $GETJPI or F$GETJPI to get the values. PGFLQUOTA is really virtual page quota. The parameter got its name because the pagefile is backing store for writable pages. PAGFILCNT is like other process quota counts--it's the number of pages left of the quota. If you want swapfile usage for a process, compute: swap_pages = ((ppgcnt + gpgcnt) DIV mpw_wrtcluster + 1) * mpw_wrtcluster PPGCNT and GPGCNT are process parameters that count private and global pages, and MPW_WRTCLUSTER is a SYSGEN parameter that is basically the swapfile page I/O clustersize.