LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 05-15-2005, 01:03 PM   #1
ilnli
Member
 
Registered: Jul 2004
Location: Pakistan
Distribution: Slackware 10.0, SUSE 9.1, RH 7, 7.3, 8, 9, FC2
Posts: 413

Rep: Reputation: 32
Define fields in /proc/meminfo


can any one define all these fields

Code:
root@darkstar:~/rrdtools# cat /proc/meminfo
        total:    used:    free:  shared: buffers:  cached:
Mem:  129568768 126603264  2965504        0  1191936 13729792
Swap:        0        0        0
MemTotal:       126532 kB
MemFree:          2896 kB
MemShared:           0 kB
Buffers:          1164 kB
Cached:          13408 kB
SwapCached:          0 kB
Active:          45868 kB
Inactive:        65616 kB
HighTotal:           0 kB
HighFree:            0 kB
LowTotal:       126532 kB
LowFree:          2896 kB
SwapTotal:           0 kB
SwapFree:            0 kB
like what is active? inactive? etc
 
Old 05-17-2005, 01:23 AM   #2
foo_bar_foo
Senior Member
 
Registered: Jun 2004
Posts: 2,553

Rep: Reputation: 53
i can try (some answers are different for different version kernels i thik) and my knowledge is limited

MemShared: always 0 ?? just a leftover old thing
Buffers: buffer cache == i think this is delayed buffered disk writes in the block device layer-- mapped pages in page cache write to this buffer cache when a page write is requested rather than to actual physical i/o
and then the physical i/o request goes to a scheduler cue
Cached: memory page cache == i think this is very related to the address space concept and data i/o to the file system again in the block device layer. writes and reads go through the memory page cache like a memory map with buffer cache as an intermediary on writes ? it's like a memorymap if the harddrive.
SwapCached: swaped out then swaped back in so it exists both places
Active: this is the kernel keeping track of what's been used recently or presently being used as opposed to
Inactive: which is junk that can be tossed or swapped out if need be
HighTotal: i'm not sure how much detail to go into here but generally the linux kernel maps to 1 gb physical ram. if you have more than 1 gb of physical ram then the kernel needs aditional non-permanent map structures to map more physical ram to it's virtual address space, this is called zone highmem
 
  


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



Similar Threads
Thread Thread Starter Forum Replies Last Post
Correlation between /proc/devices and /proc/modules ColinLadyka Linux - General 1 02-13-2006 05:25 PM
inittab fields env Linux - General 2 03-04-2005 12:36 PM
Oracle Developer 10G /proc/meminfo problem sockman Linux - Enterprise 3 12-19-2004 11:17 AM
Maximum memory reported by /proc/meminfo in vanilla 2.4.26 kobica Linux - General 0 11-15-2004 05:49 AM
What's the difference between the upper and lower portions of /proc/meminfo? undercrawler Linux - Hardware 0 03-26-2004 09:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 10:26 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