Resource Monitor Network traffic destination display in AHK gui?

Get help with using AutoHotkey (v2 or newer) and its commands and hotkeys
emp00
Posts: 156
Joined: 15 Apr 2023, 12:02

Resource Monitor Network traffic destination display in AHK gui?

07 Oct 2023, 11:04

I would like to display a list of the Top5 network traffic destinations in an AHK gui. As a reference see below screenshot taken from the Win11 Resource Monitor tool. How can I display the red-marked information in AHK? Is there a standard autohotkey library which can access such network traffic information? Thanks for helping out. :salute:

Image
emp00
Posts: 156
Joined: 15 Apr 2023, 12:02

Re: Resource Monitor Network traffic destination display in AHK gui?

08 Oct 2023, 15:24

In the meantime I found TCPView by @jNizM - not bad, but unfortunately this only shows the current TCP/UDP connections. However, I would like to get the upload+download data rates per process in order to always show+monitor the Top 5 upload/download traffic processes, just like in the Resource Monitor snip.

Any ideas how I can programmatically access this data in an AHK script? Any Dllcall or library I can use? :think:
User avatar
jNizM
Posts: 3183
Joined: 30 Sep 2013, 01:33
Contact:

Re: Resource Monitor Network traffic destination display in AHK gui?

09 Oct 2023, 02:47

Since I don't have time to implement that, I'll give you the two WinAPI's. Maybe someone else can implement it.
GetPerTcpConnectionEStats function
GetPerTcp6ConnectionEStats function
[AHK] v2.0.5 | [WIN] 11 Pro (Version 22H2) | [GitHub] Profile

Return to “Ask for Help (v2)”

Who is online

Users browsing this forum: kunkel321, songdg and 35 guests