On Wed, 29 Apr 2009 10:18:40 -0700 (PDT) socknoggle <todd.sarg...@hostedsolutions.com> 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? >From a system that needs proc for running a binary in linux emulation: # grep proc /etc/fstab /proc /proc procfs rw,linux 0 0 # cat /proc/meminfo total: used: free: shared: buffers: cached: Mem: 1014919168 213594112 801325056 0 0 0 Swap: 536735744 0 536735744 MemTotal: 991132 kB MemFree: 782544 kB MemShared: 0 kB Buffers: 0 kB Cached: 0 kB SwapTotal: 524156 kB SwapFree: 524156 kB Guess this is similar to what you would get on linux. - Robert