Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the linux command line to check kernel space and User space Memory used [closed]

I need to find the RAM usage of kernel space and user space memory used. On seeing

cat /proc/meminfo

I couldn't able to find the exact details. Is there any command line to find the RAM usage of kernel space and user space memory used.

like image 660
fasil Avatar asked Jul 03 '13 09:07

fasil


People also ask

Which command will show you free used memory?

For that, there is the free command. The free command displays: Total amount of free and used physical memory. Total amount of swap memory in the system.

What is the kernel command line in Linux?

Kernel command-line parameters, also known as kernel arguments, are used to customize the behavior of Red Hat Enterprise Linux at boot time only.


1 Answers

Try:

sudo slabtop

or

sudo cat /proc/slabinfo

These should give you enough information to estimate the total kernel memory consumption.

You can read more info about kernel and userspace memory here.

like image 174
Avio Avatar answered Oct 28 '22 05:10

Avio