From: SMTP%"RELAY-INFO-VAX@CRVAX.SRI.COM" 14-JAN-1994 19:09:36.10 To: EVERHART CC: Subj: Undocumented utility From: gleason@mwk.com X-Newsgroups: comp.os.vms Subject: Undocumented utility Message-ID: <1994Jan13.101017.1796@mwk.com> Date: 13 Jan 94 10:10:17 CST Organization: M. W. Kellogg, Houston TX Lines: 28 To: Info-VAX@CRVAX.SRI.COM X-Gateway-Source-Info: USENET I was reading the .com files for the rogue's gallery of components that make up DECnet Phase V (cursed be its name), trying to come up to speed on it, and I found an undocumented utility that may be of some occasional use. The utility is sys$system:les$findptmax.exe. It will return the size of the biggest contiguous block of free SPTEs on your system, multiplied by two, in its exit status. I presume the value is multipled by two to shift it out of the low bit, so it can still indicate success or failure...anyway, if you... $ run sys$system:les$findptmax $ temp = $status $ if (.not. $status) then exit $ write sys$output temp/2 You can find out what your free SPTE situation is. Since lots of things that formerly loaded in non-paged pool are using SPTEs to map things in instead, this can occasionally be a useful thing to know... Use at your own risk, there may be a good reason it's not documented, etcetera, and so forth. Lee K. Gleason N5ZMR : "Say mister, what's it mean when a guy crashes out?" Control-G Consultants : "It means he's free" gleason@mwk.com : Phone 713/681-3985 :