Operating System - HP-UX
1827445 Members
5978 Online
109965 Solutions
New Discussion

Shared memory allocation in 64 bits 11.0

 
Marcelo De Florio_1
Frequent Advisor

Shared memory allocation in 64 bits 11.0

How can i to see shared memory allocation with adb tool (by quadrants) ?

MDF
Marcelo De Florio
1 REPLY 1
Mike Stroyan
Honored Contributor

Re: Shared memory allocation in 64 bits 11.0

If you are trying to look at one
process or core file with adb, then it's $m command seems blind to shared memory segments.
If you are trying to poke around in the kernel with adb to see system characteristics then there is a better way.
The attached example uses some of the pstat_* functions to find all the currently mapped system V shared memory segments, their addresses, and the processes that have them mapped. It does not report shared memory segments that are not currently attached to any process.