Operating System - Linux
1752576 Members
4361 Online
108788 Solutions
New Discussion юеВ

Re: Linux IA64, How to find how much memory is consumed by linux kernel

 

Linux IA64, How to find how much memory is consumed by linux kernel

Hi,
I have a simple question.

Linux Node1 2.6.10-telco-1.46-mckinley-smp #1 SMP Fri May 30 18:29:43 UTC 2008 ia64 GNU/Linux


1. How to determine what is the total amount of kernel memory consumed in my IA64 LINUX System ?

2. How to determine per process level how much kernel memory is consumed(or it does make sense as kernel works for all process , and there would mutual memory used for all process)
4 REPLIES 4
Ivan Ferreira
Honored Contributor

Re: Linux IA64, How to find how much memory is consumed by linux kernel

Probably, you should take a look to /proc/meminfo, free and pmem:

http://www.pmem.net/
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
Nuwan Alwis
Valued Contributor

Re: Linux IA64, How to find how much memory is consumed by linux kernel

Hi,
"top" command will provide you information about the process and resource consumed by them such as mem, cpu-time etc..
Cheers...!
Khalique
Occasional Advisor

Re: Linux IA64, How to find how much memory is consumed by linux kernel

# vmstat

# cat /proc/meminfo

# top

# free -m
SJO EGGER
Regular Advisor

Re: Linux IA64, How to find how much memory is consumed by linux kernel

with "ps -eo rssize,vsize,command"

- rssize = physical memory that a task has used (in kiloBytes)
- vsize = virtual memory size of the process in KiB (1024-byte units)
- command = process

example for the 10 highest physical memory processes: ps -eo rssize,vsize,command | sort -n | tail -10