0

How can I see a NIC's bytes received and bytes sent at the Windows command line?

I've tried the following:

netsh interface ip show ipstats

and

net statistics workstation

but they don't show the correct data.

0

1 Answer 1

1

Those statistics come from calling GetIfTable from the IPHLPAPI.DLL

Copy the demo code from the MSDN link into a new C++ Console Application in Visual Studio 2015 Community Edition and compile it. Now run the tool.

1
  • I end up with irrelevant information and too many adapters showing (30)
    – DTM450
    Dec 18, 2015 at 6:40

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .