Questions tagged [pmap]
7 questions
3
votes
0 answers
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 and with smem tool.
But when I am using ps v to get the RSS then it is showing different…
Mohit Ranawat
- 31
- 2
2
votes
1 answer
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 6588952K
# top | grep 22080
22080 ghatee 20 0…
mahmood
- 1,141
- 6
- 28
- 49
1
vote
0 answers
How to inspect the memory map of the kernel given "root" privileges?
I use pmap for inspecting the memory map of the user-space process .
How to inspect the memory map of the kernel given "root" privileges (i.e. all capabilities)?
The reason I'm interested is that I'm developing kernel modules, and thus…
Shuzheng
- 4,023
- 1
- 31
- 71
1
vote
1 answer
What is the Higher Virtual Memory address (Kernel Mapping) of a process used to?
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 RAM)?
What is the use of it?
The pmap of a…
Franc
- 229
- 3
- 15
1
vote
1 answer
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 really big executable and my code size is large.…
Franc
- 229
- 3
- 15
0
votes
0 answers
pmap shows mappings of "other objects" - how do I find out what these are?
I am investigating some sort of a memory leak in my rust application. The memory keeps growing at a steady pace (starts at around 30M and grows 50M per day). The application is written in rust and it pretty much just attaches an XDP/BPF program to a…
Ollie
- 199
- 1
- 4
0
votes
2 answers
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 section of memory. I would appreciate if you can verify…
Utku
- 1
- 1