1

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?

  • 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
4

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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