OpenVMS - How to Find which Processes Are Using a Specific Pagefile
Finding which processes are using a specific pagefile.
There is a freeware extension PF$SDA extension available.
Please click here to access the openvms .org page and find the information on the freeware update at
http://www.openvms.org/stories.php?story=06/06/09/7721822 (Look for pf_sda.zip on this page)
Details
Copy the PF$SDA proper version to sys$share then execute the command :
SDA> pf 'pagefile_index'
In this example there is no processes using the pagefile.
$ copy PF$SDA.EXE_ALP_V732 SYS$COMMON:[SYSLIB]PF$SDA.EXE $ show memory/file System Memory Resources on 1-MAR-2007 11:38:02.05 Write Bitmap (WBM) Memory Summary Local bitmap count: 0 Local bitmap memory usage (bytes) 0.00 Master bitmap count: 0 Master bitmap memory usage (bytes) 0.00 Paging File Usage (bytes): Index Free Size DISK$VMS732:[SYS2.SYSEXE]PAGEFILE.SYS (GB) 254 2.00 2.00 Total committed paging file usage:(MB) 70.75 $ analyze/system SDA> PF 254 PF V1.1 (c) 2006, Ian Miller (miller@encompasserve.org) built on VMS V7.3-2 %PF-I-INFO, File index 254 Device: $1$DGA2000 (default filespec SYS$SYSROOT:[SYSEXE]PAGEFILE.SYS) Pagefile flags: INITED Total size (in pages) 262648 Pages in use 0 Free Pages 262648 Minimum free pages 262648 Total write count 0 Total read count 0 %PF-I-NOTINUSE, There are no pages in use in this file %PF-I-TOTALSWAP, Total Size of all Swap Files 0 pages %PF-I-TOTALPAGE, Total Size of all Page Files 262648 pages %PF-I-TOTALREFS, Total Committed Page File Usage 9370 pages %PF-I-TOTALALLO, Total Allocated Page File 0 pages %PF-I-PINUSE, 0.00% pagefile is in use SDA>