1753588 Members
6697 Online
108796 Solutions
New Discussion юеВ

Re: pmap for hpux 11.i

 
Rene Mendez_4
Super Advisor

pmap for hpux 11.i

Hello

In sun exist command pmap for view open library for process, the equivalent command por hpux?

Regards.
Rene
5 REPLIES 5
Mel Burslan
Honored Contributor

Re: pmap for hpux 11.i

I am not sure about the functionality of pmap but there is lsof for hp/ux which facilitates viewing open files, libraries or otherwise.
________________________________
UNIX because I majored in cryptology...
Navin Bhat_2
Trusted Contributor

Re: pmap for hpux 11.i

You can use glance to get the process memory regions similar to pmap.

select the process using "s" key and then the "M" key to get the process memory regions.

Type RefCt RSS VSS Locked File Name
--------------------------------------------------------------------------------
NULLDR/Shared 98 4kb 4kb 0kb
TEXT /Shared 2 704kb 704kb 704kb
DATA /Priv 1 2.0mb 2.0mb 2.0mb
MEMMAP/Priv 1 16kb 68kb 0kb
MEMMAP/Priv 1 16kb 16kb 0kb
MEMMAP/Priv 1 8kb 32kb 0kb /usr/lib/libc.2
MEMMAP/Priv 1 0kb 44kb 0kb
MEMMAP/Priv 1 4kb 4kb 0kb /usr/lib/libdld.2
Robert-Jan Goossens
Honored Contributor

Re: pmap for hpux 11.i

Hi Rene,

Take a look at this thread.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=335089

Regards,
Robert-Jan
Navin Bhat_2
Trusted Contributor

Re: pmap for hpux 11.i

pmap is a tool that gives address space maps.

tools like chatr,lsof do not provide that information on a running process.
Mike Stroyan
Honored Contributor

Re: pmap for hpux 11.i