Which process uses what pages?
Clash Royale CLAN TAG#URR8PPP
up vote
2
down vote
favorite
I have memory fragmented on my Linux system. Is there a way to find out what pages (in terms of order) and how many of them are used by each process running?
linux rhel memory
add a comment |Â
up vote
2
down vote
favorite
I have memory fragmented on my Linux system. Is there a way to find out what pages (in terms of order) and how many of them are used by each process running?
linux rhel memory
you mean open files by each process...lsof
â SivaPrasath
Jun 7 at 11:18
@SivaPrasath, I mean memory pages used by long-running processes. For instance, the process has memory cache, caching some strings with different length (from 4Kb to 128Kb). Is there a way to find out how many memory pages does the process uses for each page order? In my case I don't know what process fragments memory... As far as I knowlsof
shows the amount of files opened by process.
â sys463
Jun 7 at 11:22
Do you mean how a process uses its virtual memory? Or the physical memory backing that virtual memory? And, is there some practical issue with measurable effects related to this?
â ilkkachu
Jun 7 at 12:12
@ilkkachu, I think, physical memory. My system is suffering from memory fragmentation, that's why I'm asking. I've posted a question here some time ago. unix.stackexchange.com/questions/440155/â¦
â sys463
Jun 7 at 12:30
add a comment |Â
up vote
2
down vote
favorite
up vote
2
down vote
favorite
I have memory fragmented on my Linux system. Is there a way to find out what pages (in terms of order) and how many of them are used by each process running?
linux rhel memory
I have memory fragmented on my Linux system. Is there a way to find out what pages (in terms of order) and how many of them are used by each process running?
linux rhel memory
asked Jun 7 at 11:16
sys463
889
889
you mean open files by each process...lsof
â SivaPrasath
Jun 7 at 11:18
@SivaPrasath, I mean memory pages used by long-running processes. For instance, the process has memory cache, caching some strings with different length (from 4Kb to 128Kb). Is there a way to find out how many memory pages does the process uses for each page order? In my case I don't know what process fragments memory... As far as I knowlsof
shows the amount of files opened by process.
â sys463
Jun 7 at 11:22
Do you mean how a process uses its virtual memory? Or the physical memory backing that virtual memory? And, is there some practical issue with measurable effects related to this?
â ilkkachu
Jun 7 at 12:12
@ilkkachu, I think, physical memory. My system is suffering from memory fragmentation, that's why I'm asking. I've posted a question here some time ago. unix.stackexchange.com/questions/440155/â¦
â sys463
Jun 7 at 12:30
add a comment |Â
you mean open files by each process...lsof
â SivaPrasath
Jun 7 at 11:18
@SivaPrasath, I mean memory pages used by long-running processes. For instance, the process has memory cache, caching some strings with different length (from 4Kb to 128Kb). Is there a way to find out how many memory pages does the process uses for each page order? In my case I don't know what process fragments memory... As far as I knowlsof
shows the amount of files opened by process.
â sys463
Jun 7 at 11:22
Do you mean how a process uses its virtual memory? Or the physical memory backing that virtual memory? And, is there some practical issue with measurable effects related to this?
â ilkkachu
Jun 7 at 12:12
@ilkkachu, I think, physical memory. My system is suffering from memory fragmentation, that's why I'm asking. I've posted a question here some time ago. unix.stackexchange.com/questions/440155/â¦
â sys463
Jun 7 at 12:30
you mean open files by each process...
lsof
â SivaPrasath
Jun 7 at 11:18
you mean open files by each process...
lsof
â SivaPrasath
Jun 7 at 11:18
@SivaPrasath, I mean memory pages used by long-running processes. For instance, the process has memory cache, caching some strings with different length (from 4Kb to 128Kb). Is there a way to find out how many memory pages does the process uses for each page order? In my case I don't know what process fragments memory... As far as I know
lsof
shows the amount of files opened by process.â sys463
Jun 7 at 11:22
@SivaPrasath, I mean memory pages used by long-running processes. For instance, the process has memory cache, caching some strings with different length (from 4Kb to 128Kb). Is there a way to find out how many memory pages does the process uses for each page order? In my case I don't know what process fragments memory... As far as I know
lsof
shows the amount of files opened by process.â sys463
Jun 7 at 11:22
Do you mean how a process uses its virtual memory? Or the physical memory backing that virtual memory? And, is there some practical issue with measurable effects related to this?
â ilkkachu
Jun 7 at 12:12
Do you mean how a process uses its virtual memory? Or the physical memory backing that virtual memory? And, is there some practical issue with measurable effects related to this?
â ilkkachu
Jun 7 at 12:12
@ilkkachu, I think, physical memory. My system is suffering from memory fragmentation, that's why I'm asking. I've posted a question here some time ago. unix.stackexchange.com/questions/440155/â¦
â sys463
Jun 7 at 12:30
@ilkkachu, I think, physical memory. My system is suffering from memory fragmentation, that's why I'm asking. I've posted a question here some time ago. unix.stackexchange.com/questions/440155/â¦
â sys463
Jun 7 at 12:30
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
1
down vote
You can get information from /proc/<PID>/maps
.
Example:
$ cat /proc/3618/maps
00400000-005ce000 r-xp 00000000 fd:00 78541 /usr/sbin/<service>
007cd000-00811000 rw-p 001cd000 fd:00 78541 /usr/sbin/<service>
If you are concerned by pages which are really in RAM, use mincore & msync
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
1
down vote
You can get information from /proc/<PID>/maps
.
Example:
$ cat /proc/3618/maps
00400000-005ce000 r-xp 00000000 fd:00 78541 /usr/sbin/<service>
007cd000-00811000 rw-p 001cd000 fd:00 78541 /usr/sbin/<service>
If you are concerned by pages which are really in RAM, use mincore & msync
add a comment |Â
up vote
1
down vote
You can get information from /proc/<PID>/maps
.
Example:
$ cat /proc/3618/maps
00400000-005ce000 r-xp 00000000 fd:00 78541 /usr/sbin/<service>
007cd000-00811000 rw-p 001cd000 fd:00 78541 /usr/sbin/<service>
If you are concerned by pages which are really in RAM, use mincore & msync
add a comment |Â
up vote
1
down vote
up vote
1
down vote
You can get information from /proc/<PID>/maps
.
Example:
$ cat /proc/3618/maps
00400000-005ce000 r-xp 00000000 fd:00 78541 /usr/sbin/<service>
007cd000-00811000 rw-p 001cd000 fd:00 78541 /usr/sbin/<service>
If you are concerned by pages which are really in RAM, use mincore & msync
You can get information from /proc/<PID>/maps
.
Example:
$ cat /proc/3618/maps
00400000-005ce000 r-xp 00000000 fd:00 78541 /usr/sbin/<service>
007cd000-00811000 rw-p 001cd000 fd:00 78541 /usr/sbin/<service>
If you are concerned by pages which are really in RAM, use mincore & msync
answered Jun 7 at 11:35
SivaPrasath
4,26711939
4,26711939
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2funix.stackexchange.com%2fquestions%2f448406%2fwhich-process-uses-what-pages%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
you mean open files by each process...
lsof
â SivaPrasath
Jun 7 at 11:18
@SivaPrasath, I mean memory pages used by long-running processes. For instance, the process has memory cache, caching some strings with different length (from 4Kb to 128Kb). Is there a way to find out how many memory pages does the process uses for each page order? In my case I don't know what process fragments memory... As far as I know
lsof
shows the amount of files opened by process.â sys463
Jun 7 at 11:22
Do you mean how a process uses its virtual memory? Or the physical memory backing that virtual memory? And, is there some practical issue with measurable effects related to this?
â ilkkachu
Jun 7 at 12:12
@ilkkachu, I think, physical memory. My system is suffering from memory fragmentation, that's why I'm asking. I've posted a question here some time ago. unix.stackexchange.com/questions/440155/â¦
â sys463
Jun 7 at 12:30