LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 08-14-2005, 05:37 PM   #1
drminix
LQ Newbie
 
Registered: May 2005
Location: Dunediin
Distribution: Fedora Core 3
Posts: 8

Rep: Reputation: 0
Linux kernel memory usage..


Hi.

I was wondering how I can find out the size of memory (text, bss, and data segments) used by Linux kernel 2.2.17. I tried using 'dmesg' to see if the kernel gies out out any relevant information at boot-up time but there is none. Please help!


Thanks in advance
Sanghyeb.
 
Old 08-14-2005, 05:47 PM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
all can be found in the /proc filesystem
what you say data segments and whatnot is per process in /proc/<pid>/status
there are overall mem stats in /proc/meminfo /proc/vmstat and like that
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Memory Usage on Linux lchand_p Linux - Software 2 06-19-2006 06:17 AM
how to determine cpu usage, memory usage, I/O usage by a particular user logged on li rags2k Programming 4 08-21-2004 04:45 AM
Show Kernel Memory usage? Qten Linux - Newbie 17 08-20-2004 06:57 PM
Memory Usage In Enterprise Kernel fishlet Linux - General 2 02-28-2004 05:52 PM
Linux and Memory usage ganninu Linux - General 8 12-15-2003 07:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 11:52 PM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration