Bob Sneidar wrote:
> On Aug 14, 2012, at 10:55 AM, Richard Gaskin wrote:
>
>> I could use "top -l1 -n0" to get just the overview stuff from which
>>
>> I can parse out the memory info, but it's not a very fast command to
>> execute, taking more than a second to return the result to LiveCode.
>
> When I execute this directly from the shell the result is almost
> instantaneous.

But how long does it take when you try it in the LiveCode Message Box:

put the millisecs into t; get shell("top -l1 -n0"); put the millisecs - t && it


--
 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