Title
#general
e

Eddy

08/10/2020, 9:28 AM
Hello everyone. Does someone know if it is possible to get the details about the current network speed using osquery? I was trying to get
link_speed
from
interface_details
but it always returns 0 for every interface
theopolis

theopolis

08/10/2020, 12:47 PM
Are you interested in the negotiated link speed? Or are you looking for something similar to a speed test like speedtest[.]net?
s

seph

08/10/2020, 7:49 PM
@theopolis What’s
context.isColumnUsed("link_speed")
do? Looks like link_speed is only populated if that’s true. Will that work with the change to how we propagated columns?
e

Eddy

08/11/2020, 5:19 AM
@theopolis something similar to a speed test
theopolis

theopolis

08/11/2020, 3:52 PM
@seph good question but let's make sure this is a widespread issue before jumping into code. It looks like the negotiated link speed works on macos. @Eddy this only reports hardware status. A speed test feature does not exist in osquery.
s

seph

08/11/2020, 3:55 PM
I get zeros on my machine, both as root and as my user. I didn't dig much deeper
3:55 PM
There is a curl table... There's probably a way to do something like a speed test with that. Though it won't be perfect
e

Eddy

08/18/2020, 8:12 PM
Eventually, On WIndows I succeded to get the link speed using native powershell but osquery always returns 0