HP-UX Reference (11i v3 07/02) - 4 File Formats (vol 8)
s
services.window(4) services.window(4)
NAME
services.window - file containing applications and their associated memory window ID
DESCRIPTION
The file /etc/services.window
is used by applications using memory windows.
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 win-
dow 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 bit
processes.
The definition of a memory window is only available for 32-bit processes.
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 IDs 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 window.
EXAMPLES
Below is a example of a
/etc/services.window
file.
# /etc/services.window
#
application1 20
application2 30
application3 40
AUTHOR
services.window was developed by HP.
FILES
/etc/services.window
File containing applications’ associated window ID.
SEE ALSO
getmemwindow(1M), setmemwindow(1M).
Memory Window in HP-UX 11.0 White Paper on
http://docs.hp.com.
HP-UX 11i Version 3: February 2007 − 1 − Hewlett-Packard Company 419