Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 09-08-2007, 07:23 PM   #1
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
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
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
Registered: Jun 2003
Distribution: SuSE, Slackware, Gentoo
Posts: 207

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


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 > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:57 AM.

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