Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

How can i view the kernel's share of memory on a machine? How can I increase it? What should I consider before doing it?

share|improve this question
Please clarify what you mean by "the kernel's share". – mattdm Mar 9 '11 at 12:59
Your question makes no sense: the kernel takes whatever memory it needs, no more, no less. Is there a specific feature you're trying to tune? (There are settings you can tune, but the defaults are right in >99.99% of use cases.) – Gilles Mar 9 '11 at 20:36

Memory for what?

You can adjust kernel parameters in /etc/sysctl.conf

try running

sysctl -a | egrep -i "(vm|page|mem|shm)"

for some example kernel memory-related parameters

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.