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

Tiemo Hollmann TB toolbook at
Thu Mar 30 13:52:00 EDT 2017

Yes, using ifconfig <interface> I get exact 1 MAC (see Ken Rays script as
Klaus pointed out). I don't see a parameter to get all at once, but I could
perhaps call ifconfig 4 times with <interface> lo0, en0,en1 and fw0. Or I
will try to use "networksetup -listallhardwareports”, as Marc pointed out
Don't ask me why I need exactly these 4 interfaces. The old function,
working with netstat is made by an external programmer and I have to get
exact the same results as the old function has provided, so I need these 4

-----Ursprüngliche Nachricht-----
Von: use-livecode [mailto:use-livecode-bounces at] Im Auftrag
von Bob Sneidar via use-livecode
Gesendet: Donnerstag, 30. März 2017 18:52
An: How to use LiveCode <use-livecode at>
Cc: Bob Sneidar <bobsneidar at>
Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x

That works great for the default adapter. I think Tiemo is looking for a way
to enumerate ALL adapter mac addresses. I have like 24 entries using
netstat. Some are ipv6 addresses, others ipv4, and still others have no mac
address at all. Of course I am using Parallels and have 2 physical network
adapters and a couple virtual ones. 

Bob S

> On Mar 30, 2017, at 09:06 , Klaus major-k via use-livecode
<use-livecode at> wrote:
> using this script from Ken Ray:
> <>
> took 30 millisecs on my Mac Mini, macOS 10.12.4 and LC 9 dp6.  :-)
>> Tiemo
> Best
> Klaus
> --
> Klaus Major

use-livecode mailing list
use-livecode at
Please visit this url to subscribe, unsubscribe and manage your subscription

More information about the use-livecode mailing list