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

Tiemo Hollmann TB toolbook at kestner.de
Thu Mar 30 08:40:26 EDT 2017


Hi Marc,
I need the MAC addresses from all network adapters. How can you narrow the
scope of this request?
Tiemo


-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at lists.runrev.com] Im Auftrag
von Marc Siskin via use-livecode
Gesendet: Donnerstag, 30. März 2017 14:15
An: How to use LiveCode <use-livecode at lists.runrev.com>
Cc: Marc Siskin <msiskin at andrew.cmu.edu>
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

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>



_______________________________________________
use-livecode mailing list
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





More information about the use-livecode mailing list