On Wed, Apr 29, 2009 at 08:51:39PM +0200, Robert wrote:
> On Wed, 29 Apr 2009 10:18:40 -0700 (PDT)
> socknoggle <[email protected]> wrote:
>
> > How do I get a listing of the current state of memory and swap
> > similar to what's in the Linux /proc/meminfo file? If anyone could
> > help me with that I would really appreciate it.
>
> What does it look like on Linux?
like this:
$ cat meminfo
MemTotal: 3621988 kB
MemFree: 1582404 kB
Buffers: 784448 kB
Cached: 901492 kB
SwapCached: 384 kB
Active: 701944 kB
Inactive: 1250340 kB
HighTotal: 2750936 kB
HighFree: 1574152 kB
LowTotal: 871052 kB
LowFree: 8252 kB
SwapTotal: 4192944 kB
SwapFree: 4192388 kB
Dirty: 336 kB
Writeback: 0 kB
AnonPages: 264276 kB
Mapped: 32268 kB
Slab: 66108 kB
SReclaimable: 52648 kB
SUnreclaim: 13460 kB
PageTables: 3152 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
CommitLimit: 6003936 kB
Committed_AS: 513616 kB
VmallocTotal: 114680 kB
VmallocUsed: 5188 kB
VmallocChunk: 108908 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
Hugepagesize: 4096 kB
--
Christopher Linn <celinn at mtu.edu> | By no means shall either the CEC
System Administrator II | or MTU be held in any way liable
Center for Experimental Computation | for any opinions or conjecture I
Michigan Technological University | hold to or imply to hold herein.