how to monitor network usage
Hi! We are using ROS1 Noetic on Ubuntu 20.04 with regular desktop version.
We have some processes using internet, for example, - streaming some topics content to a commercial cloud server, - Ntrip RTK for gps correction.
Now we want to monitor the bandwidth and data usage, so in Ubuntu System Monitor, there's a section "Network History" contains Total Received and Total Sent.
So our question is, Does this total received/sent value include only those interaction with Internet, like the 2 processes mentioned above? Or does this total value also include the data flow within ROS, like node publish/subscribe: node_A -> topic_1 -> node_B?
We have very limited knowledge of network. If System Monitor is not the right tool, is there a better tool to monitor the data usage?
Thank you!
Try using :
htop
I did a simple test for my question about System Monitor: I found that it does not include the publish/subscribe.