Forrest logo
back to the vnstati tool

vnstati:tldr:276ae

vnstati: Output a summary of the last 2: months, days, and all-time.
$ vnstati --summary --iface ${network_interface} --output ${path-to-output-png}
try on your machine

This command is used to generate a summary report of network traffic statistics for a specific network interface and save the output as a PNG file.

Here is the breakdown of each component in the command:

  • vnstati: It is the command line utility for visualizing network traffic statistics.
  • --summary: This flag tells vnstati to generate a summary report of the network traffic statistics. The summary report provides an overview of different traffic statistics like average, maximum, and current bandwidth usage.
  • --iface ${network_interface}: This option specifies the network interface for which you want to generate the statistics. You need to replace ${network_interface} with the actual name of the network interface. For example, it could be "eth0" or "wlan0".
  • --output ${path-to-output-png}: This option specifies the path and file name where you want to save the generated PNG report. You need to replace ${path-to-output-png} with the actual desired path and file name.

After executing this command with the appropriate values, vnstati will generate a summary report of network traffic statistics for the specified network interface and save it as a PNG file in the specified location.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.
back to the vnstati tool