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

_______________________________________________
use-livecode mailing list
use-livecode@lists.runrev.com
Please visit this url to subscribe, unsubscribe and manage your subscription 
preferences:
http://lists.runrev.com/mailman/listinfo/use-livecode

Reply via email to