services.window - file containing applications and their associated
memory window id
The files /etc/services.window is used by applications using memory
Each line in the /etc/services.window file associates an application
with a memory window id. A line in the /etc/services.window file
cannot start with a space or tab. The format is a unique name,
defining the application, followed by a space/tab, followed by a
unique window_id. See the sample file in EXAMPLES.
Memory windows allows for the starting of a process in a unique or
existing memory window where it can create and share objects with
other applications in the same memory window.
The creation of memory windows removes the system wide restriction on
shared resources. Without memory windows, 32-bit processes were
limited to 1.75 gigabytes of shared resources. Each memory window
allows for the definition of a unique 1 gigabyte quadrant and since
multiple memory windows can be defined in a system, the system total
for shared resources can exceed the 1.75 gigabyte limitation for 32
The definition of a memory window is only available for 32-bit
The /etc/services.window file provides a central place for memory
window applications to associate their memory window ids. In the
event there are any collisions, only a change in /etc/services.window
is necessary to select another memory window for the entire
application. If /etc/services.window is not used, and user
applications hard code window id's in their startup scripts,
collisions are not easily detected or easily fixed.
A memory window application uses the command getmemwindow(1M) to
extract the application's window_id from the /etc/services.window
file, and then passes that id to the setmemwindow(1M).
Using the same window id places applications in the same memory
Below is a example /etc/services.window file.
Hewlett-Packard Company - 1 - HP-UX Release 11i: November 2000
services.window was developed by HP.
/etc/services.window File containing applications' associated
setmemwindow(1M), getmemwindow(1M), 11.0 Memory Window White Paper.
Hewlett-Packard Company - 2 - HP-UX Release 11i: November 2000