* /proc/meminfo
@ 2003-06-02 11:55 Roets, Chris (Tru64&Linux support)
0 siblings, 0 replies; 11+ messages in thread
From: Roets, Chris (Tru64&Linux support) @ 2003-06-02 11:55 UTC (permalink / raw)
To: linux-kernel@vger.kernel.org
if you look at /proc/meminfo, what values to you need to add to each
other
to get to the total memory ?
ok, used and free (256241664 5042176),
but then how do you come to used :
Active + Inactive_dirty + Inactive_clean + ....
in the case below, I can't find where 57360 Kb are allocated to.
I looked ad slabinfo, but cold get to the total niether
Does anybody have the calculation to get to the total ?
Thanks,
Chris
[root@tanos4 mypdc]# cat /proc/meminfo
total: used: free: shared: buffers: cached:
Mem: 261283840 256241664 5042176 81920 9867264 177315840
Swap: 536862720 434176 536428544
MemTotal: 255160 kB
MemFree: 4924 kB
MemShared: 80 kB
Buffers: 9636 kB
Cached: 172736 kB
SwapCached: 424 kB
Active: 9196 kB
Inact_dirty: 132844 kB
Inact_clean: 40836 kB
Inact_target: 884 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 255160 kB
LowFree: 4924 kB
SwapTotal: 524280 kB
SwapFree: 523856 kB
NrSwapPages: 130964 pages
Chris Roets
HP Customer support
Tru64 and Linux support
HP Belgium
www.hp.be
Chris.Roets@hp.com
Tel +32 2 729.77.44
http://www.roets.tk
^ permalink raw reply [flat|nested] 11+ messages in thread
* RE: /proc/meminfo
@ 2003-06-03 13:51 Roets, Chris (Tru64&Linux support)
2003-06-03 14:05 ` /proc/meminfo William Lee Irwin III
0 siblings, 1 reply; 11+ messages in thread
From: Roets, Chris (Tru64&Linux support) @ 2003-06-03 13:51 UTC (permalink / raw)
To: William Lee Irwin III, Denis Vlasenko; +Cc: linux-kernel
[Chris >] attached jpeg shows the memory statitiscs of a 6 Gb system
[Chris >] Does anybody have an idea when my remaining 1.4 Gb can be ?
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /proc/meminfo
2003-06-03 13:51 /proc/meminfo Roets, Chris (Tru64&Linux support)
@ 2003-06-03 14:05 ` William Lee Irwin III
0 siblings, 0 replies; 11+ messages in thread
From: William Lee Irwin III @ 2003-06-03 14:05 UTC (permalink / raw)
To: Roets, Chris (Tru64&Linux support); +Cc: Denis Vlasenko, linux-kernel
On Tue, Jun 03, 2003 at 03:51:47PM +0200, Roets, Chris wrote:
> [Chris >] attached jpeg shows the memory statitiscs of a 6 Gb system
> [Chris >] Does anybody have an idea when my remaining 1.4 Gb can be ?
What JPEG? This is probably either
(a) boot-time code dropping memory regions on the floor
(b) some misunderstanding about reporting in /proc/meminfo
This is also different from your other bugreport.
-- wli
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /proc/meminfo
[not found] <224CFA9643B4CE4BA18137CF73DB2F32020E0DC0@broexc01.emea.cpqcorp.net>
@ 2003-06-04 6:52 ` William Lee Irwin III
0 siblings, 0 replies; 11+ messages in thread
From: William Lee Irwin III @ 2003-06-04 6:52 UTC (permalink / raw)
To: Roets, Chris (Tru64&Linux support); +Cc: Denis Vlasenko, linux-kernel
At some point in the past, I wrote:
>> (a) boot-time code dropping memory regions on the floor
>> (b) some misunderstanding about reporting in /proc/meminfo
>> This is also different from your other bugreport.
On Wed, Jun 04, 2003 at 06:51:09AM +0200, Roets, Chris wrote:
> [Chris >] 1.4 G is a lot to loose now ?
Your quoting style leaves something to be desired.
What exactly is this chart supposed to say? Are you asking about the
numbers not adding up?
-- wli
^ permalink raw reply [flat|nested] 11+ messages in thread
* /proc/meminfo
@ 2003-11-18 12:11 Dan Am
0 siblings, 0 replies; 11+ messages in thread
From: Dan Am @ 2003-11-18 12:11 UTC (permalink / raw)
To: linux-ia64
[-- Attachment #1: Type: text/plain, Size: 454 bytes --]
Hello,
running rhas2.1 with 2.4.18-e.31smp (stock-redhat) on a rx2600. I noticed
that the figures from /proc/meminfo and thus top seem to add somewhat
different to i386:
"Shared" and "buffers" and "free" add up to only 1.6 GB with 2GB available
In i386 all three add up to the total available.
I include two listings. Does that make sense and if so how ? I did search this
lists archive for hints on "top" and "meminfo" .
Tia & regards
Dan
[-- Attachment #2: meminfoi386 --]
[-- Type: text/plain, Size: 1102 bytes --]
total: used: free: shared: buffers: cached:
Mem: 1057861632 678666240 379195392 0 198885376 366485504
Swap: 789618688 0 789618688
MemTotal: 1033068 kB
MemFree: 370308 kB
MemShared: 0 kB
Buffers: 194224 kB
Cached: 357896 kB
SwapCached: 0 kB
Active: 191296 kB
Inactive: 381736 kB
HighTotal: 130992 kB
HighFree: 2044 kB
LowTotal: 902076 kB
LowFree: 368264 kB
SwapTotal: 771112 kB
SwapFree: 771112 kB
BigFree: 0 kB
total: used: free: shared: buffers: cached:
Mem: 1057861632 678674432 379187200 0 198893568 366485504
Swap: 789618688 0 789618688
MemTotal: 1033068 kB
MemFree: 370300 kB
MemShared: 0 kB
Buffers: 194232 kB
Cached: 357896 kB
SwapCached: 0 kB
Active: 191320 kB
Inactive: 381720 kB
HighTotal: 130992 kB
HighFree: 2044 kB
LowTotal: 902076 kB
LowFree: 368256 kB
SwapTotal: 771112 kB
SwapFree: 771112 kB
BigFree: 0 kB
[-- Attachment #3: meminfoia64 --]
[-- Type: text/plain, Size: 678 bytes --]
total: used: free: shared: buffers: cached:
Mem: 2092859392 2026700800 66158592 0 49397760 1532116992
Swap: 2147450880 0 2147450880
MemTotal: 2043808 kB
MemFree: 64608 kB
MemShared: 0 kB
Buffers: 48240 kB
Cached: 1496208 kB
SwapCached: 0 kB
Active: 975584 kB
Inact_dirty: 749392 kB
Inact_clean: 36448 kB
Inact_target: 352272 kB
HighTotal: 0 kB
HighFree: 0 kB
LowTotal: 2043808 kB
LowFree: 64608 kB
SwapTotal: 2097120 kB
SwapFree: 2097120 kB
Committed_AS: 49680752 kB
HugePages_Total: 0
HugePages_Free: 0
Hugepagesize: 262144 kB
^ permalink raw reply [flat|nested] 11+ messages in thread
* /proc/meminfo
@ 2005-05-16 17:25 Jared Hulbert
2005-05-16 17:30 ` /proc/meminfo Dave Hansen
0 siblings, 1 reply; 11+ messages in thread
From: Jared Hulbert @ 2005-05-16 17:25 UTC (permalink / raw)
To: linux-mm
Please have mercy on a linux-mm newbie. I'd like to understand the
output of /proc/meminfo and /proc/<[0-9]+>/maps. I want to measure 2
things: First, how much memory in a system is used for code or other
readonly file mmaps or what RAM can be saved by using XIP flash.
Second, at the time a system snapshot is taken how much RAM is
absolutely needed (for example, I assume we could dump caches, flush
buffers, and clean up unused memory.)
Where can I find a good reference to what this all output means? Are
there other sources of information available?
Here are my assumptions:
# cat /proc/meminfo
MemTotal: = Memory managed by Linux kernel. Total RAM - kernel image.
MemFree: = Memory not allocated. Not the same as memory availiable to allocate.
Buffers: = ?
Cached: = inode cache
SwapCached: = Used swap space
Active: = Pages allocated by kernel and user processes
Inactive: = Pages allocated but read to be purged
HighTotal: = 2Gig limit stuff
HighFree: = ""
LowTotal: = ""
LowFree: = ""
SwapTotal: = What is the relationship between this and SwapCached?
SwapFree: = ""
Dirty: = ?
Writeback: = ?
Slab: = ?
CommitLimit: = ?
Commited_AS: = ?
PageTables: = Memory allocated for use as page tables.
VmallocTotal: = Virtual memory space allocated
VmallocUsed: = ?
VmallocChunk: = ?
# cat /proc/1/maps
08048000-0804E000 r-xp 00000000 75:00 637746 /sbin/init
(readonly, executable mmap of file /sbin/init Probably code)
0804E000-0804F000 rw-p 00000000 75:00 637746 /sbin/init
(readwrite, mmap of file /sbin/init Probably initialized variables
etc)
0804F000-08070000 rw-p 0804F000 00:00 0 (I don't know)
1st column = virtual memory map of map
2nd column = r = read; w = write; x = executable; p = I don't know
3rd column = I don't know
4th column = size of map (but it often doesn't match the size of column 1)
5th column = name of file
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /proc/meminfo
2005-05-16 17:25 /proc/meminfo Jared Hulbert
@ 2005-05-16 17:30 ` Dave Hansen
0 siblings, 0 replies; 11+ messages in thread
From: Dave Hansen @ 2005-05-16 17:30 UTC (permalink / raw)
To: Jared Hulbert; +Cc: linux-mm
On Mon, 2005-05-16 at 10:25 -0700, Jared Hulbert wrote:
> Please have mercy on a linux-mm newbie. I'd like to understand the
> output of /proc/meminfo and /proc/<[0-9]+>/maps. I want to measure 2
> things: First, how much memory in a system is used for code or other
> readonly file mmaps or what RAM can be saved by using XIP flash.
> Second, at the time a system snapshot is taken how much RAM is
> absolutely needed (for example, I assume we could dump caches, flush
> buffers, and clean up unused memory.)
>
> Where can I find a good reference to what this all output means? Are
> there other sources of information available?
Documentation/filesystems/proc.txt
-- Dave
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"aart@kvack.org"> aart@kvack.org </a>
^ permalink raw reply [flat|nested] 11+ messages in thread
* /proc/meminfo
@ 2006-06-05 14:36 Abu M. Muttalib
2006-06-06 9:37 ` /proc/meminfo Jes Sorensen
0 siblings, 1 reply; 11+ messages in thread
From: Abu M. Muttalib @ 2006-06-05 14:36 UTC (permalink / raw)
To: linux-kernel-daily-digest, linux-mm, kernelnewbies-bounce
Hi,
Does /proc/meminfo provides reliable information?
~Abu.
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /proc/meminfo
2006-06-05 14:36 /proc/meminfo Abu M. Muttalib
@ 2006-06-06 9:37 ` Jes Sorensen
0 siblings, 0 replies; 11+ messages in thread
From: Jes Sorensen @ 2006-06-06 9:37 UTC (permalink / raw)
To: Abu M. Muttalib; +Cc: linux-kernel-daily-digest, linux-mm, kernelnewbies-bounce
>>>>> "Abu" == Abu M Muttalib <abum@aftek.com> writes:
Abu> Hi, Does /proc/meminfo provides reliable information?
Yes
Jes
--
To unsubscribe, send a message with 'unsubscribe linux-mm' in
the body to majordomo@kvack.org. For more info on Linux MM,
see: http://www.linux-mm.org/ .
Don't email: <a href=mailto:"dont@kvack.org"> email@kvack.org </a>
^ permalink raw reply [flat|nested] 11+ messages in thread
* /proc/meminfo
@ 2006-06-06 11:16 Abu M. Muttalib
2006-06-06 11:28 ` /proc/meminfo Jiri Slaby
0 siblings, 1 reply; 11+ messages in thread
From: Abu M. Muttalib @ 2006-06-06 11:16 UTC (permalink / raw)
To: linux-kernel, kernelnewbies
Hi,
Is the information provided by /proc/meminfo reliable?
~Abu.
^ permalink raw reply [flat|nested] 11+ messages in thread
* Re: /proc/meminfo
2006-06-06 11:16 /proc/meminfo Abu M. Muttalib
@ 2006-06-06 11:28 ` Jiri Slaby
0 siblings, 0 replies; 11+ messages in thread
From: Jiri Slaby @ 2006-06-06 11:28 UTC (permalink / raw)
To: Abu M. Muttalib; +Cc: linux-kernel, kernelnewbies
Abu M. Muttalib napsal(a):
> Hi,
>
> Is the information provided by /proc/meminfo reliable?
Nope, that's the reason, what's is that for... Why?
Do you have any miscues?
regards,
--
Jiri Slaby www.fi.muni.cz/~xslaby
\_.-^-._ jirislaby@gmail.com _.-^-._/
B67499670407CE62ACC8 22A032CC55C339D47A7E
^ permalink raw reply [flat|nested] 11+ messages in thread
end of thread, other threads:[~2006-06-06 11:27 UTC | newest]
Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-06-06 11:16 /proc/meminfo Abu M. Muttalib
2006-06-06 11:28 ` /proc/meminfo Jiri Slaby
-- strict thread matches above, loose matches on Subject: below --
2006-06-05 14:36 /proc/meminfo Abu M. Muttalib
2006-06-06 9:37 ` /proc/meminfo Jes Sorensen
2005-05-16 17:25 /proc/meminfo Jared Hulbert
2005-05-16 17:30 ` /proc/meminfo Dave Hansen
2003-11-18 12:11 /proc/meminfo Dan Am
[not found] <224CFA9643B4CE4BA18137CF73DB2F32020E0DC0@broexc01.emea.cpqcorp.net>
2003-06-04 6:52 ` /proc/meminfo William Lee Irwin III
2003-06-03 13:51 /proc/meminfo Roets, Chris (Tru64&Linux support)
2003-06-03 14:05 ` /proc/meminfo William Lee Irwin III
2003-06-02 11:55 /proc/meminfo Roets, Chris (Tru64&Linux support)
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.