Kbase P141064: What is the size of _progres for 10.1C02 on HPUX Itanium platform?
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  2/9/2009 |
|
Status: Unverified
GOAL:
What is the size of _progres for 10.1C02 on HPUX Itanium platform?
GOAL:
How to identify the size of an _progres executable on HPUX Itanium platform?
GOAL:
How to identify the memory footprint for _progres?
FACT(s) (Environment):
UNIX
HP-UX 11i
OpenEdge 10.1C02 Service Pack
FIX:
The size of the _progres executable in memory, can be measured using the SZ (Size) column in the output from ps -elf command. The definition for the SZ column as stated in the man page for ps command is:
The size in physical pages of the core image of the process, including text, data, and stack space. Physical page size is defined by _SC_PAGE_SIZE in the header file.
To identify the memory page size, use the following command:
getconf _SC_PAGE_SIZE
On the HPUX Itanium, the _SC_PAGE_SIZE is: 4096 (4KB).
Steps to identify the size of the _progres executable size/footprint in memory:
1. Start _progres session: pro
2. Use operating system command: ps -elf to locate the process and see the SZ column associated with the process.
3. Identify the size of a memory page using the command: getconf _SC_PAGE_SIZE
4. Multiply the SZ column from the ps -elf output by the memory page size.
Example:
pro
ps -elf | grep PID (process id)
F S UID PID PPID C PRI NI ADDR SZ WCHAN STIME TTY TIME COMD
3401 S smith 18966 17425 0 154 20 e00000018ba7d940 8700 e00000015cbcf040 13:50:21 pts/te 0:00 /usr1/kmcintos/dlc101c/bin/_progres -1
8700 x 4096 = 35635200 = 35.6MB