Home Upgrade Search Memberlist Extras Hacker Tools Award Goals Help Wiki Contact

Python 

[Help]Monitor proccesses's bandwidth in Windows using Python

Hello guys, is there a way to parse Windows process network bandwidth usage into python? I was looking for a way in google, and all I got was the total amount of the network usage, but not for a specific service. Thanks, any help is appreciated
I'm sure you can though I don't know how myself.

I use Process Hacker in Windows instead of the default Task Manager and on the Network tab you can add columns to see bytes sent/received and rate.

That is the only way I personally know to get that kind of information.
There are a number of libraries out there for python working with linux & unix which is primarily where I have worked, but I believe 'psutil' should do the trick. It's currently located on a website called python hosted, I cannot link you because this is my first post.

If you need help with this I'm willing to give you a hand.
Psutil is a powerful python library which almost does the trick but it is not for specific process or service bandwidth monitoring. It actually gives you the total amount of network traffic. I think I have to use winpcap driver to do the job, bacause I need it for Windows. I know how to code it in Linux, thanks anyways ;)
(Nov 23, 2015 08:51 AM)sulphur Wrote:  Psutil is a powerful python library which almost does the trick but it is not for specific process or service bandwidth monitoring. It actually gives you the total amount of network traffic. I think I have to use winpcap driver to do the job, bacause I need it for Windows. I know how to code it in Linux, thanks anyways ;)

Yeah sorry I couldn't have been of more help, it's been a while. I'll keep poking around and see if I can come up with anything.


Possibly Related Threads...
Thread / Author Replies Views Last Post
[Python] by Bass_ReevesAug 20, 2023 01:44 AM 9 632 Aug 20, 2023 01:44 AM
Last Post: Lucky4L
[Shell] by Emre_Jan 12, 2021 11:16 PM 0 141 Jan 12, 2021 11:16 PM
Last Post: Emre_
[Python] by Vibz91Sep 2, 2019 03:31 PM 4 130 Sep 2, 2019 03:31 PM
Last Post: magicparty