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

Marc Siskin msiskin at andrew.cmu.edu
Thu Mar 30 08:15:29 EDT 2017


Tiemo,

I ran the command directly on my Macos 12.4 laptop and it took about 20 seconds to generate the entire listing.

Is there specific information you are looking to obtain?  You may be able to narrow the scope of the request and generate it faster.

Marc Siskin

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







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

---------------
Marc Siskin
Manager, Modern Language Resource Center
Carnegie Mellon University
msiskin at andrew.cmu.edu<mailto:msiskin at andrew.cmu.edu>






More information about the use-livecode mailing list