Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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
add comment

1 Answer 1

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
add comment

Your Answer

 
discard

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.