| United States-English |
|
|
|
![]() |
HP-UX Reference > Ppmap(1)HP-UX 11i Version 3: February 2007 |
|
NAMEpmap, pfiles — displays process address information and open file descriptors DESCRIPTIONpmap prints the address space information of a process. pfiles prints information about all open file descriptors of a process. If file descriptor corresponds to a file, then pfiles prints the fstat(2) and fcntl(2) information. If the file descriptor corresponds to a socket, then pfiles 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 OptionsThe information printed by pmap can be controlled by the -o option. The argument to -o can be a comma-separated set of arguments given below:
Since the name of the file can be of variable length, use the name argument as the last argument to the -o option to ensure proper indentation of other fields. If no -o option is specified, pmap prints the following fields by default: offset, rsz, type, perm, and name. EXAMPLESThis pmap command prints the virtual address, the resident memory size, and the name of each object mapped for processes with process ID 100 and 200: pmap -ooffset,rsz,name 100 200 This pfiles command prints information on open file descriptors of processes with process ID 100 and 200: pfiles 100 200 WARNINGSpmap and pfiles depend on DNLC 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 pmap 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. |
||||||||||||||||||||||||||||
|
|||||||||||||||