hpux man page for pmap

Query: pmap

OS: hpux

Section: 1

Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar

pmap(1) 						      General Commands Manual							   pmap(1)

NAME
pmap, pfiles - displays process address information and open file descriptors
SYNOPSIS
options] pid1 [pid2...] pid1 [pid2...]
DESCRIPTION
prints the address space information of a process. prints information about all open file descriptors of a process. If file descriptor corresponds to a file, then prints the fstat(2) and fcntl(2) information. If the file descriptor corresponds to a socket, then prints socket related info, such as the socket type, socket family, and protocol family. In the case of AF_INET and AF_INET6 family of sockets, information about the peer host is also printed. pmap Options The information printed by can be controlled by the option. The argument to can be a comma-separated set of arguments given below: Display the size data locked in memory for each mapped object. Display the map name. This field can contain the following data. if the object is mapped as if the object mapped is the stack segment of the process. The object mapped is the text segment of the program. The object mapped is the data segment of the program. The object is mapped from a file. If the file name cannot be resolved, then the inode number and the device ID of the file is displayed. Also see the sec- tion below. Other map names include: and Display the offset of each mapped object. Specify access permission for each mapped object. Display the resident size of each mapped object. Display the space ID of each mapped object. Display the swap allocated for each mapped object. Display the maximum size of a page that can be allocated for the object. Indicate the type of data managed by each mapped object. The values include, Shared code, with n indicating the number of processes sharing the mapped object. Private code. Shared data, with n indicating the number of processes sharing the mapped object. Private data. Display the virtual size of each mapped object. Since the name of the file can be of variable length, use the name argument as the last argument to the option to ensure proper indentation of other fields. If no option is specified, prints the following fields by default: and
EXTERNAL INFLUENCES
Environment Variables If is not specified or is null, it defaults to (see lang(5)).
EXAMPLES
This command prints the virtual address, the resident memory size, and the name of each object mapped for processes with process ID 100 and 200: This command prints information on open file descriptors of processes with process ID 100 and 200:
WARNINGS
and depend on to resolve the file names. If the file name cannot be resolved, then these commands will only print the device ID and the inode number of the file. Users of must not rely on the exact field widths and spacing of its output, as these will vary depending on the system and the release of HP-UX.
SEE ALSO
fuser(1), ps(1), vmstat(1). pmap(1)
Related Man Pages
jmap(1) - mojave
shmdt(2) - opendarwin
pfiles(1) - hpux
pmap(1) - hpux
rsm_memseg_import_unmap(3rsm) - opensolaris
Similar Topics in the Unix Linux Community
how to find out pathname from inode number
Paste the files contents differently
[C] Problem with IPC
Perl map doubt
How to get the filepath and filenames in pfiles PID command?