Shell commands to find available memory
Richard Gaskin
ambassador at fourthworld.com
Tue Aug 14 16:04:18 EDT 2012
Bob Sneidar wrote:
> Looks like hw.memsize is total memory. hw.usermem is available
> memory. Somebody correct me if I am wrong.
I had thought so too, but after opening a LOT of applications and seeing
avail. mem. drop in Activity Monitor, that number remained unchanged in
subsequent calls.
> mAHAH! vm_stat will give you what you want.
The man for vm_stat suggests it reports only on virtual memory rather
than physical. :(
--
Richard Gaskin
Fourth World
LiveCode training and consulting: http://www.fourthworld.com
Webzine for LiveCode developers: http://www.LiveCodeJournal.com
Follow me on Twitter: http://twitter.com/FourthWorldSys
More information about the use-livecode
mailing list