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

getmemwindow(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

getmemwindow — extract window IDs of user processes from /etc/services.window

SYNOPSIS

getmemwindow string

DESCRIPTION

getmemwindow is the command used to extract window IDs of user processes from the /etc/services.window file. User applications are encouraged to place a unique string defining an application and its associated window ID in the /etc/services.window file and then extract that window ID using the getmemwindow command.

This allows for changing the application window ID in one central location, rather than changing scripts with hard-coded values, in the event of a memory window collision between two applications.

EXAMPLES

# Extract the window ID for "HP" from the /etc/services.window file # and start the program "HP_startup_script" with arguments arg1 and # arg2. # WinId=$(getmemwindow HP) setmemwindow -i $WinId HP_startup_script arg1 arg2

AUTHOR

getmemwindow was developed by HP.

FILES

/etc/services.window

File containing applications' associated window ID.

SEE ALSO

setmemwindow(1M), services.window(4).

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