Questions tagged [pmap]
The pmap tag has no usage guidance.
8
questions
0
votes
0
answers
61
views
What is the contribution of API to the memory usage of a process in linux as shown by pmap command?
I am trying to understand the memory usage of my program excluding the contribution of custom made API that creates and attaches to shared memory segment.
Following is the API code. I have included ...
0
votes
1
answer
72
views
pmap total always in kilobytes?
Does the Linux command "pmap" always give the total memory usage in kilobytes?
$ pmap 3208920 | tail -n 1
total 71836K
2
votes
0
answers
370
views
How to inspect the memory map of the kernel given "root" privileges?
I use pmap <pid> for inspecting the memory map of the user-space process <pid>.
How to inspect the memory map of the kernel given "root" privileges (i.e. all capabilities)?
The ...
1
vote
1
answer
647
views
What is the Higher Virtual Memory address (Kernel Mapping) of a process used to? [duplicate]
I have some questions on the Kernel mapping of a Linux process' higher virtual address:
Is that maps to the kernel text segment which is stored in the RAM(I read the vmlinuz will be extracted to the ...
1
vote
1
answer
437
views
Memory map to process for a large code segment
I know that pmap of a process shows how the memory mapping is done. For example, the first lines of pmap output shows the memory mapping to the text segment of the process' executable. Assume I have a ...
0
votes
2
answers
2k
views
Obtaining starting adress of a page
I want to obtain the beginning of a memory page, a page that contains a function.
In my case I try to achieve the page beginning of main function. Which lies in 0x400a80, I think it is in code ...
3
votes
0
answers
631
views
PS shows different RSS value from Pmap and Smem
I want to get the memory consumption by a process. I am using RSS parameter to determine it.
I am getting same RSS value when I am using pmap -xx <PID> and with smem tool.
But when I am using ...
3
votes
1
answer
557
views
Getting memory usage of a process: comparing pmap to top
I would like to get a process's memory usage and it seems that pmap can do that. However, the value it returns is different from what I see in top command.
# pmap 22080 | grep total
total ...