⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ttcp.txt

📁 网络测试
💻 TXT
字号:
TTCP(1)                                                   TTCP(1)NNAAMMEE       ttcp - test TCP and UDP performanceSSYYNNOOPPSSIISS       ttttccpp --tt [--uu] [--ss] [--pp _p_o_r_t]] [--ll _b_u_f_l_e_n]] [--bb _s_i_z_e]] [--nn _n_u_m_-       _b_u_f_s]] [--AA _a_l_i_g_n]] [--OO _o_f_f_s_e_t]] [--ff _f_o_r_m_a_t]]  [--DD]  [--vv]]  host       [<<in]]       ttttccpp   --rr   [--uu]   [--ss]  [--pp _p_o_r_t]]  [--ll _b_u_f_l_e_n]]  [--bb _s_i_z_e]]       [--AA _a_l_i_g_n]] [--OO _o_f_f_s_e_t]] [--ff _f_o_r_m_a_t]] [--BB] [--TT] [--vv] [>>out]]DDEESSCCRRIIPPTTIIOONN       _T_t_c_p times the transmission and reception of data  between       two  systems  using  the UDP or TCP protocols.  It differs       from common ``blast'' tests, which  tend  to  measure  the       remote _i_n_e_t_d as much as the network performance, and which       usually do not allow measurements at the remote end  of  a       UDP transmission.       For testing, the transmitter should be started with --tt and       --ss after the receiver has been started  with  --rr  and  --ss.       Tests  lasting  at least tens of seconds should be used to       obtain accurate measurements.  Graphical presentations  of       throughput  versus  buffer  size  for buffers ranging from       tens of bytes to several ``pages'' can illuminate  bottle-       necks.       _T_t_c_p  can  also  be  used as a ``network pipe'' for moving       directory hierarchies between systems when  routing  prob-       lems exist or when the use of other mechanisms is undesir-       able. For example, on the destination machine,  use:  ttcp       -r -B | tar xvpf -       and  on  the  source machine: tar cf - directory | ttcp -t       dest_machine       Additional intermediate machines can be included by:  ttcp       -r | ttcp -t next_machineOOPPTTIIOONNSS       -t        Transmit mode.       -r        Receive mode.       -u        Use UDP instead of TCP.       -s        If  transmitting,  source a data pattern to net-                 work; if receiving,  sink  (discard)  the  data.                 Without  the --ss option, the default is to trans-                 mit data from _s_t_d_i_n or print the  received  data                 to _s_t_d_o_u_t.       -l _l_e_n_g_t_h Length  of buffers in bytes (default 8192).  For                 UDP, this value is the number of data  bytes  in                 each  packet.  The system limits the maximum UDP                              local                             1TTCP(1)                                                   TTCP(1)                 packet length. This limit can  be  changed  with                 the --bb option.       -b _s_i_z_e   Set  size  of socket buffer.  The default varies                 from system to system.  This  parameter  affects                 the  maximum  UDP  packet length.  It may not be                 possible to set this parameter on  some  systems                 (for example, 4.2BSD).       -n _n_u_m_b_u_f_s                 Number  of  source  buffers transmitted (default                 2048).       -p _p_o_r_t   Port number to send to  or  listen  on  (default                 2000).   On some systems, this port may be allo-                 cated to another network daemon.       -D        If transmitting using TCP, do  not  buffer  data                 when   sending   (sets  the  TCP_NODELAY  socket                 option).  It may not be  possible  to  set  this                 parameter on some systems (for example, 4.2BSD).       -B        When receiving data, output  only  full  blocks,                 using  the  block  size  specified  by --ll.  This                 option is useful for programs, such  as  _t_a_r(1),                 that require complete blocks.       -A _a_l_i_g_n  Align  the  start  of  buffers  to  this modulus                 (default 16384).       -O _o_f_f_s_e_t Align  the  start  of  buffers  to  this  offset                 (default 0).  For example, ``-A8192 -O1'' causes                 buffers to  start  at  the  second  byte  of  an                 8192-byte page.       -f _f_o_r_m_a_t Specify,  using one of the following characters,                 the format of  the  throughput  rates  as  kilo-                 bits/sec     ('k'),     kilobytes/sec     ('K'),                 megabits/sec ('m'), megabytes/sec  ('M'),  giga-                 bits/sec  ('g'),  or  gigabytes/sec  ('G').  The                 default is 'K'.       -T        ``Touch'' the data as they are read in order  to                 measure cache effects.       -v        Verbose: print more statistics.       -d        Debug: set the SO_DEBUG socket option.SSEEEE AALLSSOO       ping(1M), traceroute(1M), netsnoop(1M)                              local                             2

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -