tachOrg / Real-Time-Data-Processing-Application

0 stars 0 forks source link

Local Data Stream for Linux metrics #11

Open tacho090 opened 1 year ago

tacho090 commented 1 year ago

Create local data stream from the following metrics:

tacho090 commented 1 year ago

There are several tools you can use to measure network bandwidth in Linux:

  1. iperf: iperf is a popular command-line tool used to measure network bandwidth between two devices. To use it, you need to install it on both the client and server machines. On the server machine, run the command iperf -s to start the server. On the client machine, run the command iperf -c <server IP> to initiate the test.

  2. nload: nload is a console-based tool that provides real-time monitoring of network traffic. It displays the current network usage in a graph format. You can install it using the command sudo apt-get install nload. Once installed, run the command nload to start monitoring network traffic.

  3. iftop: iftop is another console-based tool that displays network usage in real-time. It shows the current bandwidth usage for each network connection. You can install it using the command sudo apt-get install iftop. Once installed, run the command sudo iftop -i <interface> to start monitoring network traffic on a specific interface.

  4. vnstat: vnstat is a command-line tool that provides daily, weekly, and monthly network traffic reports. You can install it using the command sudo apt-get install vnstat. Once installed, run the command vnstat to view the current network usage statistics. You can also use the vnstat -d, vnstat -w, and vnstat -m commands to view daily, weekly, and monthly network usage statistics, respectively.

  5. bmon: bmon is another command-line tool that can be used to monitor network bandwidth. It displays the current bandwidth usage for each network interface in a terminal-based interface. To use bmon, you need to install it on your Linux machine. Once installed, you can run the following command to start monitoring network bandwidth:

    bmon

    This will display the current bandwidth usage for each network interface.

These tools should give you a good idea of your network bandwidth usage on a Linux system.

tacho090 commented 1 year ago

UPDATE: focus on getting data ONLY from network bandwidth and relaying it into a stream.