lkml.org 
[lkml]   [2003]   [Dec]   [8]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectMem: and Swap: lines in /proc/meminfo
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.061 / U:5.008 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site