流程监控... [英] Process traffic monitoring...
问题描述
Hello All,
Hello All,
我正在编写一个应用程序来计算每个进程通过网络发送/接收的字节数。我发现以下工具执行相同的任务 -
I am writing an application for counting number of bytes sent/received by each process over the network. I have found the following tools doing the same task which are-
ProcessExplorer(Sysinternals) ---源代码不是可用
ProcessExplorer (Sysinternals) ---source code not available
TCPView(Sysinternals) ---源代码不可用
TCPView (Sysinternals) ---source code not available
我试图搜索这些函数正在使用的技术,我发现它们正在使用事件跟踪,但我无法使用它编写自己的程序。
I tried to search the technique that these functions are using and I found that these are using Event Tracing but I could not write my own program using it.
我真的很感激,如果你' d以我能理解的方式回答以下问题。
1)如何编写类似TCPView的程序来获取每个进程的流量信息
语言 - C / C ++
platform-Windows
推荐答案
我正在努力寻找问题的逻辑,但没有得到它。
I am trying hard to find the logic for the problem but didn't get it.
请帮助我。
这篇关于流程监控...的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!