|
|
|
|
|
by dijit
398 days ago
|
|
I don't know what operating system you're talking about, but the bottleneck on my linux machine for asking for interfaces is the fact that stdout is write blocking. I routinely have shy of 100 network interfaces active and `ip a` is able to query everything in nanoseconds. |
|
And once again, on some Linux machines I've had over the years, doing an ip a command could hang or take a while if the device is in a bad state or being weird. It normally returns almost instantly, but sometimes has been slow to give me the information.