public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Mem: and Swap: lines in /proc/meminfo
@ 2003-12-09  0:00 Mike Fedyk
  2003-12-11 22:02 ` Rik van Riel
  0 siblings, 1 reply; 22+ messages in thread
From: Mike Fedyk @ 2003-12-09  0:00 UTC (permalink / raw)
  To: linux-kernel

Hi guys,

I'm working on a script that reads /proc/meminfo, and it has two modes for
reading the file.

One that reads the first column to get the name, and gets the value in an
array, and the other just reads the Mem: and Swap: lines and parses the info
out.

Now I need to change the order (it is using Mem: and Swap: first, and the
other more thurough method second), but I'm wondering what versions of the
kernel I'd be cutting out if I just removed the parsing of Mem: and Swap:...

All of the systems I have available are running 2.4, and instead of booting
a bunch of 2.2, or even 2.0 or earlier kernels, maybe some lkml readers
recall from memory? :)

TIA,

Mike

^ permalink raw reply	[flat|nested] 22+ messages in thread

end of thread, other threads:[~2003-12-17  3:59 UTC | newest]

Thread overview: 22+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2003-12-09  0:00 Mem: and Swap: lines in /proc/meminfo Mike Fedyk
2003-12-11 22:02 ` Rik van Riel
2003-12-11 22:23   ` Mike Fedyk
2003-12-11 22:42     ` Rik van Riel
2003-12-11 23:05       ` Mike Fedyk
2003-12-12  0:41         ` shm Rob Roschewsk
2003-12-12  0:43         ` shm Rob Roschewsk
2003-12-12  0:44         ` shm Rob Roschewsk
2003-12-12  0:45         ` shm Rob Roschewsk
2003-12-12 12:00         ` Mem: and Swap: lines in /proc/meminfo Rik van Riel
2003-12-12 18:12           ` Mike Fedyk
2003-12-13  3:23             ` More questions about 2.6 /proc/meminfo was: (Mem: and Swap: lines in /proc/meminfo) Mike Fedyk
2003-12-13 17:54               ` Rik van Riel
2003-12-14  1:44                 ` Mike Fedyk
2003-12-15  0:17                   ` Rik van Riel
2003-12-15 18:57                     ` Mike Fedyk
2003-12-15 19:40                       ` edjard
2003-12-15 21:57                         ` Mike Fedyk
2003-12-16  4:10                           ` Calculating total slab memory on 2.2/2.0 (was: More questions about 2.6 /proc/meminfo was: (Mem: and Swap: lines in /proc/meminfo)) Mike Fedyk
2003-12-16 20:07                           ` Re: Re: More questions about 2.6 /proc/meminfo was: (Mem: and Swap: lines in /proc/meminfo) edjard
2003-12-17  1:12         ` [PATCH 2.4 Rmap] Add Inactive to /proc/meminfo was: Mem: and Swap: lines in /proc/meminfo Mike Fedyk
2003-12-17  3:59           ` Rik van Riel

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox