Updated
I have two computers.
The first one is as a workstation. It runs the deep learning code and connects an AP by a wired.
The second one is as a robot's computer. It sends the video and other information from other sensors and connects an AP by a LAN card.
I'd like to know the data size that exchanges between them in real-time using the command in the terminal.
How do I measure data they transfer to each other via the Network for a specific Network?
Here, I meant by the specific Network (the robot's computer)
Can I know how much the robot's computer sends data to the workstation? Meanwhile, how much data the workstation sends to the robot's computer (in two directions)
Note: I am using the wireless and the wired without internet (no internet)