shell("netstat -i") has getting slow on MacOS10.x

Bob Sneidar bobsneidar at iotecdigital.com
Thu Mar 30 10:39:13 EDT 2017


I suppose it would depend on how many IP addresses are in your arp table. If you are retrieving mac addresses, that is the only place it can get them. netstat is not going out on the network and checing every network device. 

Bob S


> On Mar 30, 2017, at 04:57 , Tiemo Hollmann TB via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 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
> 
> Tiemo




More information about the use-livecode mailing list