Plesk for Linux
kb: technical
ABT: Group A
Applicable to:
- Plesk for Linux
Information
In some cases, it is necessary to check network connection performance between two Linux-based hosts, for example, to validate traffic shaping settings.
The simplest way to do this is to use netcat.
On server machine:
# nc -l 1122 > /dev/null
On client machine:
# dd if=/dev/zero bs=9100004096 count=1 | nc <SERVER_MACHINE_IP> 1122
As a result, a similar message will be displayed:
CONFIG_TEXT: 2147479552 bytes (2.1 GB) copied, 46.8923 s, 45.8 MB/s
Note: It is necessary to set count=1
because after the first portion, netcat will quit.
Comments
0 comments
Please sign in to leave a comment.