VMS Help
System Services, $ADJWSL
*Conan The Librarian (sorry for the slow response - running on an old VAX)
|
|
Adjusts a process's current working set limit by the specified
number of pages (on VAX systems) or pagelets (on Alpha systems)
and returns the new value to the caller. The working set limit
specifies the maximum number of process pages or pagelets that
can be resident in physical memory.
On Alpha systems, this service accepts 64-bit addresses.
Format
SYS$ADJWSL [pagcnt] ,[wsetlm]
C Prototype
int sys$adjwsl (int pagcnt, unsigned int *wsetlm);
pagcnt
OpenVMS usage:longword_signed
type: longword (signed)
access: read only
mechanism: by value
Signed adjustment value specifying the number of pages (on VAX
systems) or pagelets (on Alpha systems) to add to (if positive)
or subtract from (if negative) the current working set limit. The
pagcnt argument is this signed longword value.
Note that, on Alpha systems, the specified value is rounded up to
an even multiple of the CPU-specific page size.
If pagcnt is not specified or is specified as 0, no adjustment
is made and the current working set limit is returned in the
longword specified by the wsetlm argument (if this argument is
specified).
wsetlm
OpenVMS usage:longword_unsigned
type: longword (unsigned)
access: write only
mechanism: by 32- or 64-bit reference (Alpha)
mechanism: by 32-bit reference (VAX)
Value of the working set limit, in pages (on VAX systems) or
pagelets (on Alpha systems), returned by $ADJWSL. The wsetlm
argument is the 32-bit address (on VAX systems) or the 32- or
64-bit address (on Alpha systems) of this longword value. The
wsetlm argument receives the newly adjusted value if pagcnt is
specified, and it receives the prior, unadjusted value if pagcnt
is not specified.
[legal]
[privacy]
[GNU]
[policy]
[netiquette]
[sponsors]
[FAQ]
Polarhome, production since 1999.
Member of Polarhome portal.