shell("netstat -i") has getting slow on MacOS10.x
Klaus major-k
klaus at major-k.de
Thu Mar 30 12:06:04 EDT 2017
Hi Tiemo,
> Am 30.03.2017 um 13:57 schrieb Tiemo Hollmann TB via use-livecode <use-livecode at lists.runrev.com>:
>
> Hello,
>
> I am not sure where to start searching and I am not good under the hood of
> Macs.
>
> I am retrieving MAC addresses:
>
> put "netstat -I" into myShell
>
> put shell(myShell) into tRes
>
> In former times that has taken "a few" seconds, now it takes around 20
> seconds. First I tested, if it was a slowdown of LC 8/9, but in LC 6.7.10 it
> is almost the same 20 secs. I am not sure, when the decrease actually
> happened, but if it is not LC then it must be an issue of one of the latest
> MacOSs.
>
> Has anybody any idea, if I can optimize anything in the performance of this
> shell request? Could it be any permission issue in the new OS? Anything I
> could workaround, or do I have to take this shell call as it is?
>
> Thanks for any ideas
using this script from Ken Ray:
<http://www.sonsothunder.com/devres/livecode/tips/env001.htm>
took 30 millisecs on my Mac Mini, macOS 10.12.4 and LC 9 dp6. :-)
> Tiemo
Best
Klaus
--
Klaus Major
http://www.major-k.de
klaus at major-k.de
More information about the use-livecode
mailing list