1820553 Members
2381 Online
109626 Solutions
New Discussion юеВ

kernel

 
AnthonySN
Respected Contributor

kernel

How can we find out the kernel memory in RHEL as 4
3 REPLIES 3
Ivan Ferreira
Honored Contributor

Re: kernel

I don't understand very well your question but all memory related information can be obtained in /proc/meminfo:

cat /proc/meminfo
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
AnthonySN
Respected Contributor

Re: kernel

one more question,
can u shed some light on massif plugins to valgrind in RHEL 4

as per red hat site

"the memprof memory profiling and leak detection tool is no longer included in Red Hat Enterprise Linux 4. The memcheck and massif plugins to valgrind (which is newly included in Red Hat Enterprise Linux 4) provide similar functionality to memprof."
Vamsidin
Frequent Advisor

Re: kernel

NO other info is required.....


Kernal Internal Mem usage is obtained byh

vmstat -m

and in perticular to view slab usage

slabtop [- d sec] [-s sort] [-o]

d-- number of seconds
s-- sort order
o-- display slabtop

eg:

sort -k6,6 -n < /proc/slabinfo | cut -f 1 -d: