This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. ------_=_NextPart_001_01C1DC44.1802AD40 Content-Type: text/plain; charset="ISO-8859-15" If you strace /usr/bin/free you will see that it simply reads in /proc/meminfo. - Joel -----Original Message----- From: Isaac Sparrow [mailto:isaac.sparrow@visicomp.com] Sent: Thursday, April 04, 2002 6:27 PM To: plug-discuss@lists.plug.phoenix.az.us Subject: Physical memory (RAM) -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Does anyone know of a way to get the amount of physical memory (RAM) pragmatically using C/C++? Thanks, - -- - ------------------------------------------------------------------- Isaac Sparrow GnuPG Key Fingerprint: 1060 5A07 F6EC B2B3 9AAA 3EA5 7B79 EFE1 6397 4F47 Get my public key at: http://www.concentric.net/~issparow A pushy romeo asked a gorgeous elevator operator, "Don't all these stops and starts get you pretty worn out?" "It isn't the stops and starts that get on my nerves, it's the jerks." -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.6 (GNU/Linux) Comment: Give the NSA something to do. Use GnuPG! iD8DBQE8rP1Se3nv4WOXT0cRAi2lAKCRH7QSBQbZeVmJ7H80Q9aDi9C7qACcCmPx YS9ZLtV8d01bsl9wYiSIpHw= =8B9l -----END PGP SIGNATURE----- ________________________________________________ See http://PLUG.phoenix.az.us/navigator-mail.shtml if your mail doesn't post to the list quickly and you use Netscape to write mail. PLUG-discuss mailing list - PLUG-discuss@lists.plug.phoenix.az.us http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-discuss ------_=_NextPart_001_01C1DC44.1802AD40 Content-Type: text/html; charset="ISO-8859-15" Content-Transfer-Encoding: quoted-printable
If you strace /usr/bin/free you will see that it = simply reads in /proc/meminfo.
- Joel
-----Original Message-----
From: Isaac Sparrow [mailto:isaac.sparrow@visicomp=
.com]
Sent: Thursday, April 04, 2002 6:27 PM
To: plug-discuss@lists.plug.phoenix.az.us
Subject: Physical memory (RAM)
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Does anyone know of a way to get the amount of =
physical memory (RAM)
pragmatically using C/C++?
Thanks,
- --
- =
-------------------------------------------------------------------
Isaac Sparrow
GnuPG Key Fingerprint:
1060 5A07 F6EC B2B3 9AAA 3EA5 7B79 EFE1 6397 =
4F47
Get my public key at:
http://www.concentric.net/~issparow
A pushy =
romeo asked a gorgeous elevator operator, "Don't all these
stops and starts get you pretty worn =
out?" "It isn't the stops and starts
that get on my nerves, it's the jerks."
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: Give the NSA something to do. Use =
GnuPG!
iD8DBQE8rP1Se3nv4WOXT0cRAi2lAKCRH7QSBQbZeVmJ7H80Q9aDi9C7qACcCmP=
x
YS9ZLtV8d01bsl9wYiSIpHw=3D
=3D8B9l
-----END PGP SIGNATURE-----
________________________________________________
See http://PLUG.phoenix.az.us/navigator-mail.shtml if =
your mail doesn't post to the list quickly and you use Netscape to =
write mail.
PLUG-discuss mailing list - =
PLUG-discuss@lists.plug.phoenix.az.us
http://lists.PLUG.phoenix.az.us/mailman/listinfo/plug-=
discuss