This project uses Python to monitor and visualize TCP traffic in real time. The program captures data from a specified network interface and plots the data using Matplotlib. The plot is updated every second to show the current traffic.
- Requirements
- Usage
- Note
- Python 3.x
- Matplotlib
- Psutil
To run the program, use the following command:
python traffic_visualization.py
The program will prompt you to select a network interface. Choose the interface that you want to monitor.
The plot window will open and display the real-time traffic data. The x-axis shows the time in seconds and the y-axis shows the traffic in bytes.
- This program has been tested on Windows 10.
- It may not work on other operating systems.