A
A
Alexander Shirobokov2014-12-01 23:43:35
Node.js
Alexander Shirobokov, 2014-12-01 23:43:35

How to find out the current speed of receiving / sending packets of a network interface?

Through "os.networkInterfaces()" you can only get a list of current interfaces, but how to get the current speed for each?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Ilya Evseev, 2014-12-03
@konrin

Call the ifstat utility.
It is unlikely that NodeJS has built-in facilities for such subtleties.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question