Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

pmap(1) [suse man page]

PMAP(1) 							Linux User's Manual							   PMAP(1)

NAME
pmap - display information about process memory mappings SYNOPSIS
pmap [ -d | -q | -h | -V | -A low,high ] pid DESCRIPTION
pmap(1) displays information about a process's memory mappings, such as its stack, data segment, mapped files, and so on. The pmap(1) utility will show, for each mapping of a given process, the starting byte address in the process's address space, the size, the RSS (size of the mapping in physical memory), the amount of dirty pages, the permission, the device node, the offset, and the file backing the mapping, if any. As the last line of output, the pmap(1) utility will tally up the total size of all mappings as well as show the total size of writable/private mappings and of shared mappings. OPTIONS
d, --device Display major and minor device numbers. A, --limit=low,high Limit results to the given range. q, --quiet Hide header and memory statistics. h, --help Show pmap usage. V, --version Display version information. FILES
/proc/pid/maps and /proc/pid/smaps -- memory mapping information SEE ALSO
ps(1), top(1), free(1), vmstat(1) AUTHORS
Written by Chris Rivera. The procps package is maintained by Albert Calahan. Please send bug reports to <albert@users.sf.net>. Linux 12 Oct 2005 PMAP(1)

Check Out this Related Man Page

PMAP(1) 							   User Commands							   PMAP(1)

NAME
pmap - report memory map of a process SYNOPSIS
pmap [options] pid [...] DESCRIPTION
The pmap command reports the memory map of a process or processes. OPTIONS
-x, --extended Show the extended format. -d, --device Show the device format. -q, --quiet Do not display some header or footer lines. -A, --range low,high Limit results to the given range to low and high address range. Notice that the low and high arguments are single string separated with comma. -h, --help Display help text and exit. -V, --version Display version information and exit. EXIT STATUS
0 Success. 1 Failure. 42 Did not find all processes asked for. SEE ALSO
ps(1), pgrep(1) STANDARDS
No standards apply, but pmap looks an awful lot like a SunOS command. REPORTING BUGS
Please send bug reports to <procps@freelists.org> procps-ng June 2011 PMAP(1)
Man Page

15 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Collecting data from TOP to a file

Is there a way to collect data from top command to a file at regular intervals. I need this on HP-UX. I need to gather resident memory usage. I know that sar will give %cpu usage. There is a pmap command which gives memory usage in solaris. Is there a similar command in HP-UX Thanks (5 Replies)
Discussion started by: sssow
5 Replies

2. UNIX for Dummies Questions & Answers

Interpretting the result of TOP command

I want to find out how much memory is used by one unix process. I guess I can use unix top command. I have seen the SIZE and RES column in the TOP command. For Oracle client connections these values are too high about 700M , My system does not have that much pysical memory. Here is few Oracle... (2 Replies)
Discussion started by: sanjay92
2 Replies

3. Red Hat

read maps from /proc/pid/

hi, i hav a query abt reading the contents of /proc/pid/maps file.is there any system apis or functions available to get the data from dat file and parse according to my need. i need name of the .so,Create date of the .so file.,Location of .so file etc. please provide a good source. yes i hav... (3 Replies)
Discussion started by: sanjaykhuntia
3 Replies

4. HP-UX

Order process by consumed memory

Hi! I am new to HP-UX. :o By using the command glance, I found the user memory usage was very high. I would like to know is there any command can show the process which consume most available memory ? (Just like the command top, but order by memory, not CPU) (1 Reply)
Discussion started by: alfredo
1 Replies

5. UNIX for Advanced & Expert Users

how to find out pathname from inode number

Hi all when I execute pmap command on one of my daemon process, I am able to see the following output. Address Kbytes RSS Anon Locked Mode Mapped File 00010000 40 40 - - r-x-- irs026bmd 00028000 56 56 16 - rwx-- irs026bmd 00036000... (3 Replies)
Discussion started by: axes
3 Replies

6. Solaris

real memory consumption of a process

hi pmap, prstat and ps gives the RSS which is shared memory. I need to know the consumption of real memory. how to do that? thx (4 Replies)
Discussion started by: melanie_pfefer
4 Replies

7. HP-UX

how could I get a process Memory Usage

I use pstat API to get Process Infomation I would like to get a process 1.process owner 2.how many physical memory and virtual memory and total memory used(KB) and usage(%) 3.a process excution file create time 4.a process excution file access time I do't know which attribute it i need ... (3 Replies)
Discussion started by: alert0919
3 Replies

8. Shell Programming and Scripting

script to loop all process ids and take pmap

Hi all, I need a script that will loop around all the current processes and take a pmap -x <process id> and output each pmap to a separate file. Would anyone have a quick command to do this? (2 Replies)
Discussion started by: borderblaster
2 Replies

9. UNIX for Advanced & Expert Users

Memory usage shown is high

Hello all, I am facing a memory related issue on my linux that is CentOS 4.0. What I see as an output of top command, free command is that memory usage is almost 90% which is quite high without much load on the system. This is continuously showing 90% or so of memory usage with top or free... (2 Replies)
Discussion started by: radiatejava
2 Replies

10. Solaris

loop for pmap -x

I would to create a command /script where I want lauch pmap -x pid for each procces which is launched on server , and I don't know how to write a loop where it would be included . (2 Replies)
Discussion started by: kvok
2 Replies

11. AIX

Low Virtual memory available

Hi I am running AIX 5.2. My server is running low on memory. It it using about 1307775 file pages on a total of 1511424 (from vmstat -v). I looked at the memory yesterday morning, and we had plenty of free memory. I did a backup from Windows (ftp mget command) of a large file selection. From... (5 Replies)
Discussion started by: fredrivard
5 Replies

12. UNIX for Advanced & Expert Users

Finding out total memory usage

Hi, I have a server box with 16GB ram in it, within the server box there are 3 VMs running with a total allocation of 9GB. if I add up all the numbers under memory info using vmstat I get 15.8GB so I can say it adds up to 16Gb... Is there a way to see from the command line how much memory... (2 Replies)
Discussion started by: speedhunt3r
2 Replies

13. HP-UX

HP-UX server showing high memory utilization

Hi All, I am using HP-UX 11i v1(B11.11) servers for my work and its memory (RAM) utilization is consistenly 80% for the last one year. Though I am not facing any issues with this high memory utilization I just want to know the below queries: 1) Is it the default behavior of HP-UX systems? 2)... (20 Replies)
Discussion started by: ssk250
20 Replies

14. UNIX for Advanced & Expert Users

Linux live cd for low memory

Could I please get some recommendations of a linux live cd for low memory? (1 Reply)
Discussion started by: cokedude
1 Replies

15. UNIX for Advanced & Expert Users

Troubleshooting sudden high memory usage

Hi, This morning there was an app that caused a sudden spike in I/O and memory usage in the server. We found the reason for the I/O, however the memory spike was something new, as it had never happened before. I figured out what caused the memory spike, however, how do I investigate why... (6 Replies)
Discussion started by: anaigini45
6 Replies