THIS IS A TEST INSTANCE. Feel free to ask and answer questions, but take care to avoid triggering too many notifications.
0

Get CPU and Memory usage of a Wireshark Capture

Anyone knows how can i get CPU and Memory usage by a network interface (WiFi or Ethernet) in specific packet interval of a Wireshark Capture?

I need something that give me a metric over millisecond since the packet interval that I'm interesting lasts for almost 60 milliseconds.

I tried use TOP command over the Network-Manager process in millisecond interval, but the values didn't appear to be good, and I'm not sure either if these is the correct way to make this.

I'm Interesting on packet 1 to 13 interval of this capture:

https://i.stack.imgur.com/X6RSq.png

TopCr's avatar
3
TopCr
asked 2018-06-18 01:40:09 +0000
edit flag offensive 0 remove flag close merge delete

Comments

add a comment see more comments

1 Answer

1

Anyone knows how can i get CPU and Memory usage by a network interface (WiFi or Ethernet) in specific packet interval of a Wireshark Capture?

Wireshark captures packets; it doesn't measure CPU or memory usage of any sort on the host.

I tried use TOP command over the Network-Manager process in millisecond interval, but the values didn't appear to be good, and I'm not sure either if these is the correct way to make this.

It's not. If you're referring to NetworkManager on Linux, it manages the configuration of network interfaces, but it's not involved in the processing of packets.

I'm not sure there's any tool that can do a measurement of the CPU or memory use by a particular network interface, either at the driver level or at the level of the entire networking stack, especially over such a short period of time.

Guy Harris's avatar
19.9k
Guy Harris
answered 2018-06-18 07:32:49 +0000
edit flag offensive 0 remove flag delete link

Comments

First of all Thanks for the attention.

I know that Wireshark can help me just with time used on the capture and bandwidth. I still use it because of "time of the day" field on the frame that can help me with approximately time to monitoring.

About Network-Manager. I think you are Right and i realize this after get the values that make any sense. i thought that was the right way because of the useful information about the authentication on this log.

I found some papers that people make this type of metrics in some captures even smaller like 4-way-handshaking that is only 4 specific frames lasting for 6 to 8 milliseconds. The problem is that nobody explain how they get this metrics.

TopCr's avatar TopCr (2018-06-18 17:02:16 +0000) edit

I found some papers that people make this type of metrics in some captures even smaller like 4-way-handshaking that is only 4 specific frames lasting for 6 to 8 milliseconds. The problem is that nobody explain how they get this metrics.

Do you have reference to some of those papers, e.g. URLs for them, so we can see what those metrics are and try to figure out how they obtain them?

Guy Harris's avatar Guy Harris (2018-06-18 20:12:33 +0000) edit

Guy Harris. What do you think about monitoring the WPA_SUPPLICANT process? I check the log, it show many information about the auth process, but I'm not sure if its the same case of Network-Manager

TopCr's avatar TopCr (2018-06-19 21:46:21 +0000) edit
add a comment see more comments

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss.

Add Answer