User Tools

Site Tools


manuals:vps:traffic

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
manuals:vps:traffic [2016/12/11 20:00] – [Data Transfers] tomsmanuals:vps:traffic [2022/11/18 19:52] (current) – Update for network interface accounting Aither
Line 1: Line 1:
 ====== Data Transfers ====== ====== Data Transfers ======
  
-Data transfers are divided into public and private. Transfers within our network are considered private 
-and do not count towards the 
-[[information:vps_params|limit]]. Transfers within one 
-node are not charged at all. 
 ===== Monthly Overviews ===== ===== Monthly Overviews =====
  
Line 12: Line 8:
 {{:navody:vps:datove_prenosy.png?300|}} {{:navody:vps:datove_prenosy.png?300|}}
  
-Under default settings, transfers for all IP addresses for the current month are displayed. Every +Under default settings, transfers for all VPS for the current month are displayed.
-address can appear in the overview several times since counting public and +
-private transfers is recorded separately.+
  
-Using a filter form, it is possible to only display transfers from the past, choose +Using a filter form, it is possible to only display transfers from the past, 
-between TCP, UDP or other protocols or choose a specific VPS, +choose a specific VPS, node, location, etc.
-node, location, etc.+
  
 ===== Real-time Transfer Monitor ===== ===== Real-time Transfer Monitor =====
Line 24: Line 17:
 vpsAdmin measures transferred data every 10 seconds and uses that data to calculate the average for one second. vpsAdmin measures transferred data every 10 seconds and uses that data to calculate the average for one second.
 You can display it either in the “Networking -> Live monitor” menu or using You can display it either in the “Networking -> Live monitor” menu or using
-[[navody:vps:api|vpsfreectl]].+[[manuals:vps:api|vpsfreectl]].
  
 ==== Web Monitor ==== ==== Web Monitor ====
Line 30: Line 23:
  
 ==== CLI Monitor ==== ==== CLI Monitor ====
-[[navody:vps:api|vpsfreectl]] contains the ''ip_traffic top'' command, which runs a+[[manuals:vps:api|vpsfreectl]] contains the ''network top'' command, which runs a
 TUI application similar to iftop TUI application similar to iftop
  
 <code> <code>
-$ vpsfreectl ip_traffic top --help+$ vpsfreectl network top --help
 ... ...
     -L, --list-parameters            List output parameters     -L, --list-parameters            List output parameters
Line 42: Line 35:
         --unit UNIT                  Select data unit (bytes or bits)         --unit UNIT                  Select data unit (bytes or bits)
         --limit LIMIT                Number of IP addresses to monitor         --limit LIMIT                Number of IP addresses to monitor
-        --ip-address ADDR            ADDR or ID of IP addresses to monitor +        --user ID                    Filter network interfaces by user 
-        --ip-version VER             Filter IP addresses by version +        --environment ID             Filter network interfaces by environment 
-        --environment ID             Filter IP addresses by environment +        --location ID                Filter network interfaces by location 
-        --location ID                Filter IP addresses by location +        --node ID                    Filter network interfaces by node 
-        --network ID                 Filter IP addresses by network +        --vps ID                     Filter network interfaces by vps 
-        --ip-range ID                Filter IP addresses by ip_range +        --network-interface ID       Filter network interfaces by network_interface 
-        --node ID                    Filter IP addresses by node +    -h, --help                       Show this message
-        --vps ID                     Filter IP addresses by vps+
 </code> </code>
  
Line 63: Line 55:
 setting). setting).
  
-Using the ''-o'', ''--output'' option, you can choose what values we want to check. +Examples:
-First, display all of the possibilities:+
  
 <code> <code>
-$ vpsfreectl ip_traffic top -+$ vpsfreectl network top -- --unit bytes
-packets +
-packets_in +
-packets_out +
-bytes +
-bytes_in +
-bytes_out +
-public_packets +
-public_packets_in +
-public_packets_out +
-public_bytes +
-public_bytes_in +
-public_bytes_out +
-public_tcp_packets +
-public_tcp_packets_in +
-public_tcp_packets_out +
-public_tcp_bytes +
-public_tcp_bytes_in +
-public_tcp_bytes_out +
-public_udp_packets +
-public_udp_packets_in +
-public_udp_packets_out +
-public_udp_bytes +
-public_udp_bytes_in +
-public_udp_bytes_out +
-public_other_packets +
-public_other_packets_in +
-public_other_packets_out +
-public_other_bytes +
-public_other_bytes_in +
-public_other_bytes_out +
-private_packets +
-private_packets_in +
-private_packets_out +
-private_bytes +
-private_bytes_in +
-private_bytes_out +
-private_tcp_packets +
-private_tcp_packets_in +
-private_tcp_packets_out +
-private_tcp_bytes +
-private_tcp_bytes_in +
-private_tcp_bytes_out +
-private_udp_packets +
-private_udp_packets_in +
-private_udp_packets_out +
-private_udp_bytes +
-private_udp_bytes_in +
-private_udp_bytes_out +
-private_other_packets +
-private_other_packets_in +
-private_other_packets_out +
-private_other_bytes +
-private_other_bytes_in +
-private_other_bytes_out +
-</code>+
  
-Now you can display the number of packets: +$ vpsfreectl network top -- --vps 1234
- +
-<code> +
-$ vpsfreectl ip_traffic top -o packets_in,packets_out,packets+
 </code> </code>
- 
-The remaining options are used to filter the monitored IP addresses. 
- 
manuals/vps/traffic.1481486411.txt.gz · Last modified: 2016/12/11 20:00 by toms