On Tue, Aug 14, 2012 at 3:26 PM, Richard Gaskin <ambassa...@fourthworld.com> wrote: > 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
36 milliseconds for put the millisecs into t; get shell("sysctl -a | grep mem"); 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 -- http://www.andregarzia.com -- All We Do Is Code. http://fon.nu -- minimalist url shortening service. _______________________________________________ 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