Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > S


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


services.window — file containing applications and their associated memory window ID


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 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 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.


Below is a example of a /etc/services.window file.

# /etc/services.window # application1 20 application2 30 application3 40


services.window was developed by HP.



File containing applications' associated window ID.


getmemwindow(1M), setmemwindow(1M).

Memory Window in HP-UX 11.0 White Paper on http://docs.hp.com.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.