LinuxQuestions.org
Visit the LQ Articles and Editorials section
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 09-08-2007, 07:23 PM   #1
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Rep: Reputation: 30
Kernel memory footprint and analysis.


I am trying to analyze the footprint of my Linux kernel but don't know how each feature breaks down. Is there a tool I can use that will break down the memory footprint of the running kernel? I also want to see what features are being used or not used by the running system in real time. This will help me trim down the kernel and get a better idea of the feature usage.
 
Old 09-08-2007, 09:31 PM   #2
btmiller
Senior Member
 
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,133

Rep: Reputation: 320Reputation: 320Reputation: 320Reputation: 320
Look at /proc/meminfo for a general overview and /proc/slabinfo will give information from the kernel slab allocator about the memory usage of various buffers and caches. Beyond that you may wish to look at/tweak some of the vm sysctl variables.
 
Old 09-09-2007, 03:29 PM   #3
unreal128
Member
 
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

Original Poster
Rep: Reputation: 30
Thanks for the information; this will help me alot!
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
LXer: Reduce your Linux memory footprint LXer Syndicated Linux News 0 02-03-2007 01:33 AM
risk analysis for Kernel development stangy Linux - General 1 05-30-2004 02:24 PM
Risk analysis of Kernel development stangy Linux - Newbie 1 05-30-2004 01:24 AM
small memory footprint grcunningham Linux - Software 1 05-26-2004 08:38 AM
Help!!!: TCP code size/memory usage / footprint bichettelinux Linux - Networking 3 07-13-2003 05:31 PM


All times are GMT -5. The time now is 08:50 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration