simy8891 Posted February 27, 2018 Posted February 27, 2018 Hi guys, It's been a while since I wrote my last message here and a while since I used AutoIt. I'm currently sort of desperate and I'm trying to find some help in regards of getting the network usage per process! I'm not interested in the total network usage of the NIC, but only on a specific PID's network utilization. They idea is to collect the amount of traffic uploaded and downloaded by a list of specific processes. So far Process Hacker and Process Explorer are capable of getting what I need, but I need to use these numbers in another script so they're sort of useless to me. I can't seem to find a way around it. Any idea, help is greatly appreciated. Thanks
SlackerAl Posted February 27, 2018 Posted February 27, 2018 There is a lot of good stuff here: HTH Problem solving step 1: Write a simple, self-contained, running, replicator of your problem.
simy8891 Posted February 27, 2018 Author Posted February 27, 2018 21 minutes ago, SlackerAl said: There is a lot of good stuff here: TH Thanks, but unfortunately this is not good for what I need. Actually, if you look the last message in that thread on page 4, you'll see a user asking what I'm after: Quote Well now since this has been bumped, I was wondering. Is there a way to get process receive/send bytes over network like procexp?
SlackerAl Posted February 27, 2018 Posted February 27, 2018 could you use something like Tcpvcon (included with TcpView) to extract the information you need? Problem solving step 1: Write a simple, self-contained, running, replicator of your problem.
simy8891 Posted February 27, 2018 Author Posted February 27, 2018 9 minutes ago, SlackerAl said: could you use something like Tcpvcon (included with TcpView) to extract the information you need? Tcpvcon only shows the connections, but not the bandwidth utilization of each process. I'd be more than happy to use a 3rd party cmd-like application at this point, but couldn't really find any.
SlackerAl Posted February 27, 2018 Posted February 27, 2018 (edited) Sorry, I assumed more functionality in the cmd line version than there was... Last stab in the dark: How about https://www.wireshark.org/docs/man-pages/tshark.html available open source and windows binaries. Skip that, I can't see how to resolve port addresses to PIDs Edited February 27, 2018 by SlackerAl Not helpful :/ Problem solving step 1: Write a simple, self-contained, running, replicator of your problem.
simy8891 Posted February 27, 2018 Author Posted February 27, 2018 Appreciated the help though. I very rarely open new threads as I try to search the hell out of things before (why shall I re-invent the wheel)? But yeah, this is one of the times where I'm stuck everywhere. My goal would be doing it in Powershell, but AutoIT, C anything else would do now as long as I can then play with the outputs. What's funny is that Resource Monitor in Windows shows the Send/Receive network info per process, but I can't find the same counter in Perfmon (which would be the one I'd use to then grab the counters from).
JohnOne Posted February 28, 2018 Posted February 28, 2018 Start with looking into event tracing (ETW) AutoIt Absolute Beginners Require a serial Pause Script Video Tutorials by Morthawt ipify Monkey's are, like, natures humans.
Andreik Posted March 1, 2018 Posted March 1, 2018 You might get some information about a connection bandwidth using GetPerTcpConnectionEStats.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now