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

2017-03-30 Thread Dr. Hawkins via use-livecode
On Thu, Mar 30, 2017 at 11:16 AM, Mark Wieder via use-livecode < use-livecode@lists.runrev.com> wrote: > Tiemo - just use "ifconfig" by itself... no interface specifier. > That will list all the interfaces in your system. > Also, I just tried "netstat -i" from the command line--and it was still

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

2017-03-30 Thread Mike Bonner via use-livecode
; > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im > Auftrag von Mike Bonner via use-livecode > Gesendet: Donnerstag, 30. März 2017 20:02 > An: How to use LiveCode <use-livecode@lists.runrev.com use-liveco

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

2017-03-30 Thread Marc Siskin via use-livecode
unrev.com<mailto:use-livecode@lists.runrev.com>> Cc: Bob Sneidar <bobsnei...@iotecdigital.com<mailto:bobsnei...@iotecdigital.com>> 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

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

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
iemo > > -Ursprüngliche Nachricht- > Von: use-livecode [mailto:use-livecode-boun...@lists.runrev.com] Im > Auftrag von Bob Sneidar via use-livecode > Gesendet: Donnerstag, 30. März 2017 18:52 > An: How to use LiveCode <use-livecode@lists.runrev.com> > Cc: Bob Sneida

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

2017-03-30 Thread Mark Wieder via use-livecode
On 03/30/2017 11:01 AM, Mike Bonner via use-livecode wrote: If you call it with no arguments, doesn't it list them all? I'll have to get my mac running again so I can test this stuff. Yes it does - that's the default. Tiemo - just use "ifconfig" by itself... no interface specifier. That will

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

2017-03-30 Thread Mike Bonner via use-livecode
oun...@lists.runrev.com] Im > Auftrag > von Bob Sneidar via use-livecode > Gesendet: Donnerstag, 30. März 2017 18:52 > An: How to use LiveCode <use-livecode@lists.runrev.com> > Cc: Bob Sneidar <bobsnei...@iotecdigital.com> > Betreff: Re: shell("netstat -i") ha

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

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
-boun...@lists.runrev.com] Im Auftrag von Bob Sneidar via use-livecode Gesendet: Donnerstag, 30. März 2017 18:52 An: How to use LiveCode <use-livecode@lists.runrev.com> Cc: Bob Sneidar <bobsnei...@iotecdigital.com> Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x That

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

2017-03-30 Thread Bob Sneidar via use-livecode
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

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

2017-03-30 Thread Mark Wieder via use-livecode
On 03/30/2017 05:40 AM, Tiemo Hollmann TB via use-livecode wrote: Hi Marc, I need the MAC addresses from all network adapters. How can you narrow the scope of this request? Why not use ifconfig instead? Instantaneous results. -- Mark Wieder ahsoftw...@gmail.com

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

2017-03-30 Thread Klaus major-k via use-livecode
Hi Tiemo, > Am 30.03.2017 um 13:57 schrieb Tiemo Hollmann TB via use-livecode > : > > 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

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

2017-03-30 Thread Mike Bonner via use-livecode
I don't have a mac available at the moment, but can't you use ifconfig for this? Most likely with no arguments then parse the results. If the results are similar to linux (never a safe bet, but worth a check) there will be a line with something like HWaddr and then the mac address. On Thu, Mar

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

2017-03-30 Thread Bob Sneidar via use-livecode
oic you are getting the mac addresses of the network adapters attached to your device. Bob S > On Mar 30, 2017, at 07:39 , Bob Sneidar via use-livecode > wrote: > > I suppose it would depend on how many IP addresses are in your arp table. If > you are

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

2017-03-30 Thread Bob Sneidar via use-livecode
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

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

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
gt; Cc: Marc Siskin <msis...@andrew.cmu.edu> Betreff: Re: shell("netstat -i") has getting slow on MacOS10.x Tiemo, You may need to use two commands if you need the information from both Macs and PCs. On the Mac, "networksetup -listallhardwareports” in the shell should gi

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

2017-03-30 Thread Marc Siskin via use-livecode
ivecode@lists.runrev.com>> Cc: Marc Siskin <msis...@andrew.cmu.edu<mailto:msis...@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 entir

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

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
:15 An: How to use LiveCode <use-livecode@lists.runrev.com> Cc: Marc Siskin <msis...@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 gener

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

2017-03-30 Thread Marc Siskin via use-livecode
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,

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

2017-03-30 Thread Tiemo Hollmann TB via use-livecode
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